2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout code
25- uses : actions/checkout@v2
25+ uses : actions/checkout@v4
2626 - name : Install Rust
2727 uses : dtolnay/rust-toolchain@stable
2828 with :
5555 - { target: "aarch64-apple-darwin", os: "macos-latest", arch: "aarch64", extension: "" }
5656 - { target: "x86_64-pc-windows-msvc", os: "windows-latest", arch: "amd64", extension: ".exe" }
5757 steps :
58- - uses : actions/checkout@v3
58+ - uses : actions/checkout@v4
5959 - uses : Swatinem/rust-cache@v2
6060 with :
6161 shared-key : " ${{ runner.os }}-lint-${{ hashFiles('./Cargo.lock') }}"
6868 - name : Install Spin
6969 uses : rajatjindal/setup-actions/spin@main
7070 with :
71- version : " v0.8.0 "
71+ version : " v2.4.2 "
7272 - name : Install pluginify
7373 shell : bash
7474 run : spin plugins install --url https://github.com/itowlson/spin-pluginify/releases/download/canary/pluginify.json --yes
8888 - name : Pluginify plugin binary
8989 run : spin pluginify --arch ${{ matrix.config.arch }}
9090 - name : Archive pluginified
91- uses : actions/upload-artifact@v3
91+ uses : actions/upload-artifact@v4
9292 with :
9393 name : ${{ env.PROGRAM_NAME}}-${{ matrix.config.os }}-${{ matrix.config.arch }}
9494 path : |
@@ -104,7 +104,7 @@ jobs:
104104 - name : Install Spin
105105 uses : rajatjindal/setup-actions/spin@main
106106 with :
107- version : " v2.0.0 "
107+ version : " v2.4.2 "
108108 - name : Install pluginify
109109 shell : bash
110110 run : spin plugins install --url https://github.com/itowlson/spin-pluginify/releases/download/canary/pluginify.json --yes
@@ -123,12 +123,12 @@ jobs:
123123 run : echo "RELEASE_VERSION=precanary" >> $GITHUB_ENV
124124
125125 - name : Download artifacts
126- uses : actions/download-artifact@v3
126+ uses : actions/download-artifact@v4
127127 - name : Display structure of downloaded files
128128 run : ls -R
129129 - name : pluginify it
130130 run : |
131- spin pluginify --merge --release-url-base https://github.com/spinkube/spin-trigger-mqtt /releases/download/${{ env.RELEASE_VERSION }}/ >${{ env.PROGRAM_NAME }}.json
131+ spin pluginify --merge --release-url-base https://github.com/${{ github.repository }} /releases/download/${{ env.RELEASE_VERSION }}/ >${{ env.PROGRAM_NAME }}.json
132132 - name : Display merged manifest
133133 run : cat ${{ env.PROGRAM_NAME }}.json
134134
0 commit comments