1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-06-26 22:30:19 +02:00

ci: use actionlint on GHA workflows

- https://github.com/rhysd/actionlint is cool
This commit is contained in:
cn
2022-02-15 23:56:09 +01:00
committed by Christian Nicolai
parent 2838ad9eae
commit dbc61d72fb
4 changed files with 31 additions and 3 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: Extract dyndnsd version from tag name
run: |
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> "$GITHUB_ENV"
- name: Wait for dyndnsd ${{ env.DYNDNSD_VERSION }} gem to be available
run: |
@ -23,6 +23,7 @@ jobs:
for retry in $(seq 1 5); do
echo "Checking if dyndnsd $DYNDNSD_VERSION gem is retrievable from rubygems.org (try #$retry)..."
sudo gem install dyndnsd -v "$DYNDNSD_VERSION"
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then
exit 0
fi