-
Notifications
You must be signed in to change notification settings - Fork 99
41 lines (34 loc) · 849 Bytes
/
Copy pathrelease.yml
File metadata and controls
41 lines (34 loc) · 849 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
34
35
36
37
38
39
40
41
name: release
on:
release:
types:
- published
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
build:
uses: ./.github/workflows/build.yml
upload-release-assets:
runs-on: ubuntu-latest
needs: [build]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: RemoteTech
path: RemoteTech
- uses: actions/download-artifact@v4
with:
name: RemoteTech.version
- run: tree
- name: Create Zip
run: |
cd RemoteTech
zip -r9 ../RemoteTech.zip *
- name: Upload Release Assets
run: |
gh release upload --clobber ${{ github.ref_name }} \
RemoteTech.zip \
RemoteTech.version