From f861c262a16cfa8d2c9a92f675f21157d91aa370 Mon Sep 17 00:00:00 2001 From: Dennis Ranke Date: Mon, 30 Jan 2023 09:15:09 +0100 Subject: [PATCH] update ci actions, hopefully fix permission error --- .github/workflows/ci.yml | 6 +++--- .github/workflows/main.yml | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 263ed5a..d83673a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,9 +30,9 @@ jobs: run: sudo apt-get install -y libxkbcommon-dev libasound2-dev if: matrix.os == 'ubuntu-latest' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache build dirs - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/bin/ @@ -44,7 +44,7 @@ jobs: - name: Build run: cargo build --release --verbose - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: uw8-${{ matrix.build }} path: target/release/${{ matrix.exe }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80a66af..13026f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,10 +7,13 @@ jobs: build: runs-on: ubuntu-latest steps: + steps: + - name: Change Owner of Container Working Directory + run: chown root:root . - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: build_and_deploy - uses: shalzz/zola-deploy-action@v0.14.1 + uses: shalzz/zola-deploy-action@v0.16.1 env: # Target branch PAGES_BRANCH: gh-pages