tangled
alpha
login
or
join now
tsiry-sandratraina.com
/
genius-cli
6
fork
atom
Search lyrics or song metadata from your terminal
genius
genius-lyrics-search
genius-lyrics
cli
rust
6
fork
atom
overview
issues
pulls
pipelines
ci: add release github action workflow
tsiry-sandratraina.com
3 years ago
1d6d104f
2a7623dc
+27
1 changed file
expand all
collapse all
unified
split
.github
workflows
release.yml
+27
.github/workflows/release.yml
···
1
1
+
on:
2
2
+
release:
3
3
+
types: [created]
4
4
+
5
5
+
jobs:
6
6
+
release:
7
7
+
name: release ${{ matrix.target }}
8
8
+
runs-on: ubuntu-latest
9
9
+
strategy:
10
10
+
fail-fast: false
11
11
+
matrix:
12
12
+
include:
13
13
+
- target: x86_64-pc-windows-gnu
14
14
+
archive: zip
15
15
+
- target: x86_64-unknown-linux-musl
16
16
+
archive: tar.gz tar.xz
17
17
+
- target: x86_64-apple-darwin
18
18
+
archive: zip
19
19
+
steps:
20
20
+
- uses: actions/checkout@master
21
21
+
- name: Compile and release
22
22
+
uses: rust-build/rust-build.action@v1.3.2
23
23
+
env:
24
24
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
25
+
with:
26
26
+
RUSTTARGET: ${{ matrix.target }}
27
27
+
ARCHIVE_TYPES: ${{ matrix.archive }}