Skip to content

Commit 611f02a

Browse files
committed
misc: github actions release test
1 parent aa596f4 commit 611f02a

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
release:
9+
name: release ${{ matrix.target }}
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- target: x86_64-unknown-linux-musl
16+
archive: tar.gz tar.xz tar.zst
17+
steps:
18+
- uses: actions/checkout@master
19+
- name: Compile and release
20+
uses: rust-build/rust-build.action@v1.4.5
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
with:
24+
RUSTTARGET: ${{ matrix.target }}
25+
ARCHIVE_TYPES: ${{ matrix.archive }}
26+
EXTRA_FILES: "README.md LICENSE-GPL LICENSE-MPL"
27+
MINIFY: true
28+
TOOLCHAIN_VERSION: nightly
29+
SRC_DIR: gamegirl-egui

0 commit comments

Comments
 (0)