update ci actions, hopefully fix permission error

This commit is contained in:
2023-01-30 09:15:09 +01:00
parent bbfb5eba49
commit f861c262a1
2 changed files with 8 additions and 5 deletions

View File

@@ -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 }}

View File

@@ -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