Skip to content

Commit

Permalink
Update actions to include LFS files
Browse files Browse the repository at this point in the history
Upgrade to latest action versions while we're here
  • Loading branch information
SharkBaitDLS committed Jul 24, 2024
1 parent 66f1567 commit cdee198
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,24 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
components: clippy, rustfmt
- uses: jetli/trunk-action@v0.4.0
- uses: jetli/trunk-action@v0.5.0
- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache build artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-artifacts-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -40,7 +42,7 @@ jobs:
- name: Webpack
run: trunk build --release website/index.html
- name: Upload WASM
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dist
path: website/dist
Expand All @@ -55,7 +57,7 @@ jobs:
needs: build
steps:
- name: Download WASM
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dist
- name: Upload to S3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
components: clippy, rustfmt
- uses: jetli/trunk-action@v0.4.0
- uses: jetli/trunk-action@v0.5.0
- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache build artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-artifacts-${{ hashFiles('**/Cargo.lock') }}
Expand Down

0 comments on commit cdee198

Please sign in to comment.