mirror of
https://github.com/ilyakooo0/compaREST.git
synced 2024-12-02 10:22:58 +03:00
wip
This commit is contained in:
parent
5b5fd17097
commit
0d1545851d
4
.github/workflows/github-actions-image.yaml
vendored
4
.github/workflows/github-actions-image.yaml
vendored
@ -42,7 +42,7 @@ jobs:
|
||||
- name: Check library version
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "0.0.0.1" ]; then
|
||||
if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "${{ github.event.release.tag_name }}" ]; then
|
||||
echo "::error file=compaREST.cabal::Library version does not match release version."
|
||||
exit 1
|
||||
fi
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
- name: Check docker tag
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "latet" ]; then
|
||||
if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "${{ github.event.release.tag_name }}" ]; then
|
||||
echo "::error file=action.yaml::Action docker tag does not match release tag."
|
||||
exit 1
|
||||
fi
|
||||
|
@ -1,5 +1,7 @@
|
||||
[{
|
||||
"file": "compaREST.cabal",
|
||||
"title": "👮 Policeman",
|
||||
"annotation_level": "notice"
|
||||
"annotation_level": "notice",
|
||||
"start-line": 0,
|
||||
"end_lins": 0
|
||||
}]
|
Loading…
Reference in New Issue
Block a user