Skip to content

Commit

Permalink
Update pages action to avoid deprecation issues (#143)
Browse files Browse the repository at this point in the history
The current pages actions produce a lot of deprecation warnings from
github. This should fix that.

`actions-rs` is also archived and unmaintained. The configuration here
is simple enough to just throw in the commands directly so it's probably
a good idea to do that.
  • Loading branch information
Kuuuube authored Jun 30, 2024
1 parent eabcffa commit cd051d3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
build-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # repo checkout
- uses: actions-rs/toolchain@v1 # get rust toolchain for wasm
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: actions/checkout@v4 # repo checkout
- name: Setup toolchain for wasm
run: |
rustup update stable
rustup default stable
rustup set profile minimal
rustup target add wasm32-unknown-unknown
- name: Rust Cache # cache the rust build artefacts
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
- name: Download and install Trunk binary
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- name: Build # build
Expand Down

0 comments on commit cd051d3

Please sign in to comment.