Update check-git-apply.yaml

This commit is contained in:
uazo
2022-10-28 06:52:46 -02:00
committed by GitHub
parent 9c7592a4a6
commit 7204ed9bf7
+10 -2
View File
@@ -22,12 +22,20 @@ on:
default: ''
env:
GITHUB_SHA: ${{ github.event.inputs.rtag }}
RTAG: ${{ github.event.inputs.rtag }}
jobs:
build:
runs-on: ubuntu-latest
steps:
steps:
- name: "Get value from dispatch"
run: |
if [ -z "${RTAG}" ]; then
echo "GITHUB_SHA=$RTAG" >> $GITHUB_ENV
echo "RTAG=$RTAG"
fi
- name: Prepare container
run: |
sudo apt update