git: Fix errors and warnings thrown by CI

This commit is contained in:
WerWolv
2023-12-27 21:11:27 +01:00
parent cb35f456ed
commit 258481b0ba
2 changed files with 3 additions and 5 deletions

View File

@@ -282,7 +282,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "build-macos-arm64-cache" --confirm
gh actions-cache delete "build-macos-arm64-cache" --confirm || true
# Ubuntu build
ubuntu:

View File

@@ -29,7 +29,7 @@ jobs:
uses: actions/cache@v3
with:
path: cache
key: build-web-cache
key: ${{ runner.os }}-cmakecache-${{ hashFiles('**/CMakeLists.txt') }}
- name: 🐳 Inject /cache into docker
uses: reproducible-containers/buildkit-cache-dance@v2.1.2
@@ -43,9 +43,7 @@ jobs:
- name: 🔨 Fix permissions
run: |
chmod -c -R +rX "out/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
chmod -c -R +rX "out/"
- name: ⬆️ Upload artifacts
uses: actions/upload-pages-artifact@v2