mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update update-repository.yml
This commit is contained in:
6
.github/workflows/update-repository.yml
vendored
6
.github/workflows/update-repository.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user