-
Notifications
You must be signed in to change notification settings - Fork 28
33 lines (29 loc) · 790 Bytes
/
release.yml
File metadata and controls
33 lines (29 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Make Release
on:
push:
tags:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "zip"
directory: src
path: CleanCheat/ CleanCheat.h
filename: release.zip
#- uses: actions/upload-artifact@v1
# with:
# name: release
# path: ${{ github.workspace }}/src/release.zip
# Upload
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.workspace }}/src/release.zip
token: ${{ secrets.GITHUB_TOKEN }}