Skip to content

Commit e01a239

Browse files
committed
pipeline's name was changed
1 parent 51a46ee commit e01a239

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI/CD Pipeline
1+
name: Rust CI/CD Pipeline
22

33
on:
44
push:
@@ -20,4 +20,20 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Build
23-
run: cargo build --verbose
23+
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

Comments
 (0)