1 parent 51a46ee commit e01a239Copy full SHA for e01a239
1 file changed
.github/workflows/ci.yml
@@ -1,4 +1,4 @@
1
-name: CI/CD Pipeline
+name: Rust CI/CD Pipeline
2
3
on:
4
push:
@@ -20,4 +20,20 @@ jobs:
20
steps:
21
- uses: actions/checkout@v4
22
- name: Build
23
- run: cargo build --verbose
+ run: cargo build --verbose
24
+
25
+ release:
26
+ needs: build
27
+ runs-on: ubuntu-latest
28
+ env:
29
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # provided automatically by GitHub
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+ - uses: actions/download-artifact@v4
33
+ with: { name: dist }
34
+ - id: create_release
35
+ uses: elgohr/Github-Release-Action@v5
36
+ with:
37
+ title: Dev Build ${{ github.sha }}
38
+ tag: dev-${{ github.sha }}
39
+ prerelease: true
0 commit comments