Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions' dependencies, including actions/upload-artifact to v4 #31

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading