Skip to content

Commit 62f811d

Browse files
committed
add release
1 parent 7fc90d3 commit 62f811d

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/musl.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,32 @@
22
name: musl
33
on:
44
pull_request:
5+
paths:
6+
- "musl/**"
7+
- .github/workflows/musl.yaml
58
push:
69
branches:
710
- "master"
11+
tags:
12+
- "*"
813

914
jobs:
1015
arm-linux-musleabihf:
1116
runs-on: ubuntu-22.04
1217
steps:
13-
- name: checkout source
18+
- name: Checkout source
1419
uses: actions/checkout@v2
1520

16-
- name: build arm-linux-musleabihf
21+
- name: Build arm-linux-musleabihf
1722
run: make arm-linux-musleabihf
23+
24+
- name: Upload release
25+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
26+
uses: svenstaro/upload-release-action@v1-release
27+
with:
28+
repo_token: ${{ secrets.GITHUB_TOKEN }}
29+
file: "arm-linux-musleabihf.tar.gz"
30+
tag: ${{ github.ref }}
31+
overwrite: true
32+
file_glob: true
33+

0 commit comments

Comments
 (0)