Skip to content

Commit 1b322a9

Browse files
committed
ci: add prerelease mechanism on all builds
1 parent 131ede0 commit 1b322a9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,20 @@ jobs:
3333
# create a Github release with the generated artifacts
3434
- name: Release
3535
uses: softprops/action-gh-release@v1
36+
if: github.ref == 'refs/heads/main'
37+
with:
38+
files: |
39+
SHA256SUMS
40+
*.raw
41+
- name: Pre Release
42+
uses: softprops/action-gh-release@v1
43+
if: github.ref != 'refs/heads/main'
3644
with:
45+
prerelease: true
3746
files: |
3847
SHA256SUMS
3948
*.raw
49+
4050
multi-build:
4151
name: Multi version build
4252
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)