Fix CI with check-release.sh script

This commit is contained in:
Clémentine Urquizar 2022-06-23 19:14:39 +02:00
parent 9e261b996f
commit f83188fd60
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
4 changed files with 11 additions and 11 deletions

View file

@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Check release validity
run: sh .github/scripts/check-release.sh
run: bash .github/scripts/check-release.sh
publish:
name: Publish binary for ${{ matrix.os }}

View file

@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Check release validity
run: sh .github/scripts/check-release.sh
run: bash .github/scripts/check-release.sh
debian:
name: Publish debian packagge

View file

@ -32,8 +32,8 @@ jobs:
# Check only the validity of the tag for official releases (not for pre-releases or other tags)
- name: Check release validity
if: github.event_name != 'schedule' && steps.check-tag-format.outputs.stable
run: sh .github/scripts/check-release.sh
if: github.event_name != 'schedule' && steps.check-tag-format.outputs.stable == 'true'
run: bash .github/scripts/check-release.sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@ -58,8 +58,8 @@ jobs:
flavor: latest=false
tags: |
type=ref,event=tag
type=semver,pattern=v{{major}}.{{minor}},enable=${{ steps.check-tag-format.outputs.stable }}
type=raw,value=latest,enable=${{ steps.check-tag-format.outputs.stable }}
type=semver,pattern=v{{major}}.{{minor}},enable=${{ steps.check-tag-format.outputs.stable == 'true' }}
type=raw,value=latest,enable=${{ steps.check-tag-format.outputs.stable == 'true' }}
- name: Build and push
id: docker_build