Skip to content

Commit

Permalink
build: upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Oct 27, 2024
1 parent 9bc249a commit 08b2b4c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
with:
cmd: build
dir: 'frontend'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: typst-ts-dist
path: frontend/node_modules/@myriaddreamin
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-dist
path: frontend/dist
Expand Down Expand Up @@ -120,12 +120,12 @@ jobs:
run: |
cargo build --release --manifest-path cli/Cargo.toml --target ${{ matrix.rust-target }} --bin shiroa
cargo build --profile relwithdebinfo --manifest-path cli/Cargo.toml --target ${{ matrix.rust-target }} --bin shiroa
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}
path: target/${{ matrix.rust-target }}/release/shiroa*
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ matrix.rust-target }}/relwithdebinfo/shiroa*
Expand All @@ -149,7 +149,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
path: artifacts
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -172,12 +172,12 @@ jobs:
CARGO_TARGET: ${{ matrix.rust-target }}
PKG_CONFIG_PATH: /usr/lib/riscv64-linux-gnu/pkgconfig
PKG_CONFIG_ALLOW_CROSS: true
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}
path: target/${{ matrix.rust-target }}/release/shiroa*
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ matrix.rust-target }}/relwithdebinfo/shiroa*
Expand Down Expand Up @@ -222,12 +222,12 @@ jobs:
run: |
cargo build --release --manifest-path cli/Cargo.toml --target $RUST_TARGET --bin shiroa
cargo build --profile relwithdebinfo --manifest-path cli/Cargo.toml --target $RUST_TARGET --bin shiroa
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ env.RUST_TARGET }}/relwithdebinfo/shiroa*
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiroa-${{ env.target }}
path: target/${{ env.RUST_TARGET }}/release/shiroa*
Expand All @@ -243,7 +243,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
path: artifacts
- name: Display structure of downloaded files
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
pack_release alpine-x64 x86_64-unknown-linux-musl
- name: Display structure of releasing files
run: find gh-release
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: gh-release
path: gh-release
Expand Down

0 comments on commit 08b2b4c

Please sign in to comment.