Fix actions due to change from master to main

This commit is contained in:
mrkubax10 2021-07-31 20:12:35 +02:00
parent 9c80415d6b
commit 0db347739e
2 changed files with 6 additions and 6 deletions

View File

@ -36,9 +36,9 @@ jobs:
tar xf cctools.tar.xz
- name: Restore timestamps
run: |
wget https://github.com/MestreLion/git-tools/archive/refs/heads/master.zip
unzip master.zip
python git-tools-master/git-restore-mtime
wget https://github.com/MestreLion/git-tools/archive/refs/heads/main.zip
unzip main.zip
python git-tools-main/git-restore-mtime
- name: List build cache restore keys
run: |
# Look for the last 9 build caches (GitHub supports max 10 including current one)

View File

@ -41,9 +41,9 @@ jobs:
echo "unzip=unzip" >> $GITHUB_ENV
- name: Restore timestamps
run: |
${{ env.wget }} https://github.com/MestreLion/git-tools/archive/refs/heads/master.zip
${{ env.unzip }} master.zip
python git-tools-master/git-restore-mtime
${{ env.wget }} https://github.com/MestreLion/git-tools/archive/refs/heads/main.zip
${{ env.unzip }} main.zip
python git-tools-main/git-restore-mtime
- name: List build cache restore keys
shell : bash
run: |