on master help sign in
move things
commite012452fef9730c648a9e02fe37164b6f236cf1f authoriko <ilyakooo0@gmail.com> dateTue 28 Dec 2021, 19:12 (5 years ago) parent09bf8b8
1 file changed+2−1
.github/workflows/github-actions-image.yaml+2−1
.github/workflows/github-actions-image.yaml+2−1
@@ -10,16 +10,17 @@ on:
1010
1111jobs:
1212 check_versions:
13− if: github.event_name == 'release'
1413 runs-on: ubuntu-latest
1514 steps:
1615 - name: Check library version
16+ if: github.event_name == 'release'
1717 run: |
1818 if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "0.0.0.1" ]; then
1919 echo "::error file=compaREST.cabal::Library version does not match release version."
2020 fi
2121
2222 - name: Check docker tag
23+ if: github.event_name == 'release'
2324 run: |
2425 if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "latet" ]; then
2526 echo "::error file=action.yaml::Action docker tag does not match release tag."