Skip to content

Commit 898918f

Browse files
committed
new release artifact: versioned mount program
1 parent 7790bdb commit 898918f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release mount program
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
permissions:
9+
contents: write
10+
actions: write
11+
attestations: write
12+
packages: read
13+
14+
15+
jobs:
16+
upload-script:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Package mount program
21+
run: |
22+
mkdir -p dist
23+
cp scripts/parallax-mount-program.sh \
24+
dist/parallax-mount-program-${{ github.ref_name }}.sh
25+
26+
- name: Upload mount program
27+
uses: ncipollo/release-action@v1
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
tag: ${{ github.ref_name }}
31+
name: Release ${{ github.ref_name }} mount program
32+
artifacts: dist/parallax-mount-program-${{ github.ref_name }}.sh
33+
allowUpdates: true
34+
replacesArtifacts: false
35+
draft: false
36+
prerelease: false
37+

0 commit comments

Comments
 (0)