test without caches

This commit is contained in:
Adam Bird 2024-04-04 00:38:37 -04:00
parent 7047e71a28
commit 70be6a03ab
1 changed files with 13 additions and 13 deletions

View File

@ -77,15 +77,15 @@ jobs:
sudo mv /usr/local/bin/gtar /usr/local/bin/gtar.orig sudo mv /usr/local/bin/gtar /usr/local/bin/gtar.orig
sudo cp .github/workflows//gtar /usr/local/bin/gtar sudo cp .github/workflows//gtar /usr/local/bin/gtar
sudo chmod +x /usr/local/bin/gtar sudo chmod +x /usr/local/bin/gtar
- name: Cache MacPorts # - name: Cache MacPorts
id: cache-macports # id: cache-macports
if: ${{ !vars.MAC_RUNNER }} # if: ${{ !vars.MAC_RUNNER }}
uses: actions/cache@v2 # uses: actions/cache@v2
with: # with:
path: /opt/local/ # path: /opt/local/
key: ${{ runner.os }}-macports-${{ hashFiles('.github/workflows/macports-deps.txt') }} # key: ${{ runner.os }}-macports-${{ hashFiles('.github/workflows/macports-deps.txt') }}
restore-keys: | # restore-keys: |
${{ runner.os }}-macports- # ${{ runner.os }}-macports-
- name: Install MacPorts (if necessary) - name: Install MacPorts (if necessary)
if: ${{ !vars.MAC_RUNNER }} if: ${{ !vars.MAC_RUNNER }}
run: | run: |
@ -96,10 +96,10 @@ jobs:
sudo installer -pkg ./MacPorts-2.9.1-12-Monterey.pkg -target / sudo installer -pkg ./MacPorts-2.9.1-12-Monterey.pkg -target /
fi fi
echo "/opt/local/bin:/opt/local/sbin" >> $GITHUB_PATH echo "/opt/local/bin:/opt/local/sbin" >> $GITHUB_PATH
- name: Update MacPorts # - name: Update MacPorts
if: ${{ !vars.MAC_RUNNER }} # if: ${{ !vars.MAC_RUNNER }}
run: | # run: |
sudo port selfupdate # sudo port selfupdate
- name: Install dependencies - name: Install dependencies
if: ${{ !vars.MAC_RUNNER }} if: ${{ !vars.MAC_RUNNER }}
run: | run: |