Skip to content

Commit 95f9d73

Browse files
committed
Add release builds via CI.
1 parent feac883 commit 95f9d73

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/upload_release.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: upload_release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 1
15+
submodules: recursive
16+
17+
- name: make
18+
run: make release
19+
20+
- name: Upload to release
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
run: |
24+
7z a -mx -m0=LZMA ./sdFormatLinux_"$GITHUB_REF_NAME".7z ./sdFormatLinux ./LICENSE.txt
25+
gh release upload "$GITHUB_REF_NAME" ./sdFormatLinux_"$GITHUB_REF_NAME".7z

0 commit comments

Comments
 (0)