Skip to content

Commit a5672dd

Browse files
author
Ramon Moraes
committed
quick and dirty test on dev
1 parent 276b9b1 commit a5672dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626
# run: cargo caw-publish
2727
- name: Creating a zip file
2828
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
2933
- name: Publish to Github Release
3034
uses: softprops/action-gh-release@v2
3135
with:
3236
files: http_status_code_check.zip
33-
37+
tag_name: ${{ steps.vars.cargo_pkg_version }}

0 commit comments

Comments
 (0)