We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276b9b1 commit a5672ddCopy full SHA for a5672dd
.github/workflows/ci.yml
@@ -26,8 +26,12 @@ jobs:
26
# run: cargo caw-publish
27
- name: Creating a zip file
28
run: zip http_status_code_check.zip target/release/http_status_code_check
29
+ - name: Recover Version
30
+ run:
31
+ - name: Temporary Tag
32
+ run: cat Cargo.toml | grep -e '^version = ".*"$' | sed 's/version = "\(.*\)"/\1/' | awk '{print "cargo_pkg_version="$1}' >> $GITHUB_OUTPUT
33
- name: Publish to Github Release
34
uses: softprops/action-gh-release@v2
35
with:
36
files: http_status_code_check.zip
-
37
+ tag_name: ${{ steps.vars.cargo_pkg_version }}
0 commit comments