forked from UltraJohn/HUDReplacer
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 845 Bytes
/
release.yml
File metadata and controls
41 lines (34 loc) · 845 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: HUDReplacer
path: HUDReplacer
- uses: actions/download-artifact@v4
with:
name: HUDReplacer.version
- run: tree
- name: Create Zip
run: |
cd HUDReplacer
zip -r9 ../HUDReplacer.zip *
- name: Upload Release Assets
run: |
gh release upload --clobber ${{ github.ref_name }} \
HUDReplacer.zip \
HUDReplacer.version