We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eef577 commit 3c36c28Copy full SHA for 3c36c28
.github/workflows/antlr.yml
@@ -85,12 +85,13 @@ jobs:
85
if: ${{ github.event_name == 'push' }}
86
id: check_ver
87
run: |
88
- NEW_VER = $(cat Cargo.toml | sed -nE "s/^version.*\"([0-9a-z.\-]+)\".*$/\1/p")
89
- BASE_VER = $(cat base_branch/Cargo.toml | sed -nE "s/^version.*\"([0-9a-z.\-]+)\".*$/\1/p")
90
- if [[ "$s1" != "$s2" ]] then
+ NEW_VER=$(cat Cargo.toml | sed -nE "s/^version.*\"([0-9a-z.\-]+)\".*$/\1/p")
+ BASE_VER=$(cat base_branch/Cargo.toml | sed -nE "s/^version.*\"([0-9a-z.\-]+)\".*$/\1/p")
+ if [[ "$NEW_VER" != "$BASE_VER" ]]; then
91
echo "::set-output name=new_version::$NEW_VER"
92
fi
93
94
+
95
publish:
96
runs-on: ubuntu-latest
97
if: |
0 commit comments