chore: bump GitHub Actions to fix Node 20 deprecation warnings
Pins actions/checkout v7.0.1, actions/upload-artifact v7.0.2, actions/download-artifact v8.0.2 and Swatinem/rust-cache v2.9.2 by commit. Re-applied onto current main by the maintainer (the workflows changed since the PR was opened); dtolnay/rust-toolchain stays on @stable, because pinned to a commit it needs an explicit toolchain input, and it is a composite action with no Node runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT
This commit is contained in:
1 parent
5d5ff44db2
commit
b8bd43f797
4 files changed
+43
-43
No files matched your search
+12
-12
@@ -28,7 +28,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
native: ${{ steps.paths.outputs.native }}
|
native: ${{ steps.paths.outputs.native }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- id: paths
|
- id: paths
|
||||||
@@ -60,11 +60,11 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: repo-checks
|
key: repo-checks
|
||||||
- name: Format
|
- name: Format
|
||||||
@@ -83,11 +83,11 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: native-clippy
|
key: native-clippy
|
||||||
- run: cargo clippy --workspace --all-targets --profile ci --locked -- -D warnings
|
- run: cargo clippy --workspace --all-targets --profile ci --locked -- -D warnings
|
||||||
@@ -99,9 +99,9 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 90
|
timeout-minutes: 90
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: native-tests
|
key: native-tests
|
||||||
- name: Compile tests
|
- name: Compile tests
|
||||||
@@ -136,11 +136,11 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: wasm
|
key: wasm
|
||||||
- run: cargo xtask wasm
|
- run: cargo xtask wasm
|
||||||
@@ -151,9 +151,9 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Check out craft-fonts
|
- name: Check out craft-fonts
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
repository: storytold/craft-fonts
|
repository: storytold/craft-fonts
|
||||||
ref: ${{ env.CRAFT_FONTS_REF }}
|
ref: ${{ env.CRAFT_FONTS_REF }}
|
||||||
@@ -161,7 +161,7 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: riscv64gc-unknown-linux-gnu
|
targets: riscv64gc-unknown-linux-gnu
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: riscv64
|
key: riscv64
|
||||||
- name: Install cross-compilation dependencies
|
- name: Install cross-compilation dependencies
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ACTIONLINT_VERSION: 1.7.12
|
ACTIONLINT_VERSION: 1.7.12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|||||||
@@ -28,11 +28,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
- name: Install mdbook and trunk
|
- name: Install mdbook and trunk
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
date: ${{ steps.v.outputs.date }}
|
date: ${{ steps.v.outputs.date }}
|
||||||
prerelease: ${{ steps.v.outputs.prerelease }}
|
prerelease: ${{ steps.v.outputs.prerelease }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- id: v
|
- id: v
|
||||||
name: Resolve version
|
name: Resolve version
|
||||||
env:
|
env:
|
||||||
@@ -67,16 +67,16 @@ jobs:
|
|||||||
icons:
|
icons:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: release-icons
|
key: release-icons
|
||||||
- run: cargo build --release --locked -p solvecraft-cli
|
- run: cargo build --release --locked -p solvecraft-cli
|
||||||
- run: |
|
- run: |
|
||||||
. packaging/env.sh
|
. packaging/env.sh
|
||||||
make_icons target/release/solvecraft-cli icons
|
make_icons target/release/solvecraft-cli icons
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: icons
|
name: icons
|
||||||
path: icons
|
path: icons
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
||||||
NFPM_VERSION: 2.47.0
|
NFPM_VERSION: 2.47.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Install packaging tools
|
- name: Install packaging tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
"https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_${{ matrix.deb }}.deb"
|
"https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_${{ matrix.deb }}.deb"
|
||||||
sudo dpkg -i "$RUNNER_TEMP/nfpm.deb"
|
sudo dpkg -i "$RUNNER_TEMP/nfpm.deb"
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: release-linux-${{ matrix.arch }}
|
key: release-linux-${{ matrix.arch }}
|
||||||
- name: Build and package (AppImage, deb, rpm, tar.gz)
|
- name: Build and package (AppImage, deb, rpm, tar.gz)
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
"$appimage" --appimage-updateinformation | grep -F 'gh-releases-zsync|'
|
"$appimage" --appimage-updateinformation | grep -F 'gh-releases-zsync|'
|
||||||
test -s "$appimage.zsync"
|
test -s "$appimage.zsync"
|
||||||
done
|
done
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-linux-${{ matrix.arch }}
|
name: release-linux-${{ matrix.arch }}
|
||||||
path: dist/release/*
|
path: dist/release/*
|
||||||
@@ -148,8 +148,8 @@ jobs:
|
|||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||||
with:
|
with:
|
||||||
name: release-linux-${{ matrix.arch }}
|
name: release-linux-${{ matrix.arch }}
|
||||||
path: dist/linux
|
path: dist/linux
|
||||||
@@ -161,7 +161,7 @@ jobs:
|
|||||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||||
- name: Build the Flatpak bundle
|
- name: Build the Flatpak bundle
|
||||||
run: packaging/linux/flatpak-bundle.sh "dist/linux/solvecraft-$SOLVECRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"
|
run: packaging/linux/flatpak-bundle.sh "dist/linux/solvecraft-$SOLVECRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-flatpak-${{ matrix.arch }}
|
name: release-flatpak-${{ matrix.arch }}
|
||||||
path: dist/release/*.flatpak
|
path: dist/release/*.flatpak
|
||||||
@@ -177,9 +177,9 @@ jobs:
|
|||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Check out craft-fonts
|
- name: Check out craft-fonts
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
repository: storytold/craft-fonts
|
repository: storytold/craft-fonts
|
||||||
ref: ${{ env.CRAFT_FONTS_REF }}
|
ref: ${{ env.CRAFT_FONTS_REF }}
|
||||||
@@ -218,7 +218,7 @@ jobs:
|
|||||||
export DEB_ARCH=riscv64
|
export DEB_ARCH=riscv64
|
||||||
# We skip nfpm (deb/rpm) and AppImage for now on riscv64
|
# We skip nfpm (deb/rpm) and AppImage for now on riscv64
|
||||||
bash packaging/linux/package.sh --formats "tar"
|
bash packaging/linux/package.sh --formats "tar"
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-linux-riscv64
|
name: release-linux-riscv64
|
||||||
path: dist/release/*.tar.gz
|
path: dist/release/*.tar.gz
|
||||||
@@ -233,7 +233,7 @@ jobs:
|
|||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Build and package in a FreeBSD VM (tar.gz)
|
- name: Build and package in a FreeBSD VM (tar.gz)
|
||||||
# vmactions/freebsd-vm v1.5.9, pinned by commit (it runs our build).
|
# vmactions/freebsd-vm v1.5.9, pinned by commit (it runs our build).
|
||||||
uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc
|
uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc
|
||||||
@@ -257,7 +257,7 @@ jobs:
|
|||||||
bash packaging/freebsd/package.sh
|
bash packaging/freebsd/package.sh
|
||||||
tar -tzf dist/release/solvecraft-*-freebsd-x86_64.tar.gz \
|
tar -tzf dist/release/solvecraft-*-freebsd-x86_64.tar.gz \
|
||||||
| grep -E '/bin/solvecraft$|/bin/solvecraft-cli$|/share/applications/ai\.storyteller\.solvecraft\.desktop$|/share/doc/solvecraft/THIRD-PARTY-LICENSES\.txt$'
|
| grep -E '/bin/solvecraft$|/bin/solvecraft-cli$|/share/applications/ai\.storyteller\.solvecraft\.desktop$|/share/doc/solvecraft/THIRD-PARTY-LICENSES\.txt$'
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-freebsd-x86_64
|
name: release-freebsd-x86_64
|
||||||
path: dist/release/*
|
path: dist/release/*
|
||||||
@@ -271,16 +271,16 @@ jobs:
|
|||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
SOLVECRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: aarch64-apple-darwin, x86_64-apple-darwin
|
targets: aarch64-apple-darwin, x86_64-apple-darwin
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: release-macos-universal
|
key: release-macos-universal
|
||||||
- name: Build and package (dmg, CLI zip; the dmg is mounted and checked)
|
- name: Build and package (dmg, CLI zip; the dmg is mounted and checked)
|
||||||
run: packaging/macos/package.sh --arch universal
|
run: packaging/macos/package.sh --arch universal
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-macos
|
name: release-macos
|
||||||
path: dist/release/*
|
path: dist/release/*
|
||||||
@@ -301,15 +301,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||||
with:
|
with:
|
||||||
name: icons
|
name: icons
|
||||||
path: icons
|
path: icons
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: release-windows-${{ matrix.arch }}
|
key: release-windows-${{ matrix.arch }}
|
||||||
- name: Install WiX
|
- name: Install WiX
|
||||||
@@ -322,7 +322,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SOLVECRAFT_ICONS: ${{ github.workspace }}/icons
|
SOLVECRAFT_ICONS: ${{ github.workspace }}/icons
|
||||||
run: ./packaging/windows/package.ps1 -Arch ${{ matrix.arch }}
|
run: ./packaging/windows/package.ps1 -Arch ${{ matrix.arch }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-windows-${{ matrix.arch }}
|
name: release-windows-${{ matrix.arch }}
|
||||||
path: dist/release/*
|
path: dist/release/*
|
||||||
@@ -336,11 +336,11 @@ jobs:
|
|||||||
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
SOLVECRAFT_VERSION: ${{ needs.version.outputs.version }}
|
||||||
TRUNK_VERSION: 0.21.14
|
TRUNK_VERSION: 0.21.14
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
with:
|
with:
|
||||||
key: release-web
|
key: release-web
|
||||||
- name: Install trunk
|
- name: Install trunk
|
||||||
@@ -349,7 +349,7 @@ jobs:
|
|||||||
| tar -xz -C "$HOME/.cargo/bin" trunk
|
| tar -xz -C "$HOME/.cargo/bin" trunk
|
||||||
- name: Build and zip
|
- name: Build and zip
|
||||||
run: packaging/web/package.sh
|
run: packaging/web/package.sh
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-web
|
name: release-web
|
||||||
path: dist/release/*
|
path: dist/release/*
|
||||||
@@ -367,8 +367,8 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_REPO: ${{ github.repository }}
|
GH_REPO: ${{ github.repository }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||||
with:
|
with:
|
||||||
pattern: release-*
|
pattern: release-*
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@@ -418,7 +418,7 @@ jobs:
|
|||||||
if: github.event_name == 'workflow_dispatch' && !inputs.draft
|
if: github.event_name == 'workflow_dispatch' && !inputs.draft
|
||||||
run: cp notes.md artifacts/release-notes.md
|
run: cp notes.md artifacts/release-notes.md
|
||||||
- if: github.event_name == 'workflow_dispatch' && !inputs.draft
|
- if: github.event_name == 'workflow_dispatch' && !inputs.draft
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||||
with:
|
with:
|
||||||
name: release-assets
|
name: release-assets
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
Reference in new issue
Block a user