Update update-repository.yml

This commit is contained in:
Igor Pečovnik
2021-12-25 01:05:31 +01:00
committed by GitHub
parent 695f640454
commit 34c47accbd

View File

@@ -29,17 +29,17 @@ jobs:
- name: Remove previous artefacts if any
run: |
sudo rm -rf changes.txt 2>/dev/null || true
sudo rm -rf changes 2>/dev/null || true
- name: Download changes
uses: actions/download-artifact@v2
with:
path: changes.txt
name: changes
- name: Check
run: |
[ ! -s changes.txt ] || echo "SKIP=yes" >> $GITHUB_ENV
[ -s changes ] || echo "SKIP=yes" >> $GITHUB_ENV
- name: Install SSH key for repository
if: ${{ env.SKIP != 'yes' }}