Skip to content

Commit

Permalink
Update actions' dependencies, including actions/upload-artifact to v4 (
Browse files Browse the repository at this point in the history
  • Loading branch information
pheki authored Sep 25, 2024
1 parent f6d0892 commit cee132f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- uses: actions/checkout@v4

- name: Restore vitasdk cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: /opt/vitasdk
key: ${{ runner.os }}-vitasdk
fail-on-cache-miss: true

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -71,14 +71,14 @@ jobs:
cargo +nightly vita build --default-title-id SYSTEST01 vpk -- --tests --release --features SceLibKernel_stub
- name: Upload debug build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: std-hello-world-debug-build
path: target/armv7-sony-vita-newlibeabihf/debug/deps/vitasdk_sys-*.*
if-no-files-found: error

- name: Upload release build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: std-hello-world-release-build
path: target/armv7-sony-vita-newlibeabihf/release/deps/vitasdk_sys-*.*
Expand All @@ -90,7 +90,7 @@ jobs:
needs: install-vitasdk
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore vitasdk cache
uses: actions/cache/restore@v4
Expand All @@ -117,7 +117,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
Expand All @@ -136,27 +136,27 @@ jobs:
needs: install-vitasdk
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Restore vitasdk cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: /opt/vitasdk
key: ${{ runner.os }}-vitasdk
fail-on-cache-miss: true

- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ runner.temp }}/llvm
key: llvm

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
directory: ${{ runner.temp }}/llvm
Expand All @@ -181,26 +181,26 @@ jobs:
needs: install-vitasdk
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Restore vitasdk cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: /opt/vitasdk
key: ${{ runner.os }}-vitasdk
fail-on-cache-miss: true

- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ runner.temp }}/llvm
key: llvm

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
directory: ${{ runner.temp }}/llvm
Expand Down Expand Up @@ -242,4 +242,4 @@ jobs:
override: true

- name: Run cargo doc
run: DOCS_RS=1 RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --target armv7-sony-vita-newlibeabihf -Z build-std
run: DOCS_RS=1 RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --features all-stubs,log-build,vitasdk-utils --target armv7-sony-vita-newlibeabihf -Z build-std
4 changes: 2 additions & 2 deletions .github/workflows/update-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
key: llvm

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
directory: ${{ runner.temp }}/llvm
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

- name: Commit and create pull request
id: create-pull-request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
title: Update vita-headers bindings
Expand Down

0 comments on commit cee132f

Please sign in to comment.