Skip to content

Commit 2cc2488

Browse files
authored
Merge pull request #28 from jpflueger/jpflueger/fix-ci
2 parents d83411f + 30e07b2 commit 2cc2488

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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:
@@ -55,7 +55,7 @@ jobs:
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') }}"
@@ -68,7 +68,7 @@ jobs:
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
@@ -88,7 +88,7 @@ jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The plugin then instantiates a Wasm component and injects the message to the com
1313
Install MQTT Plugin:
1414

1515
```
16-
spin plugin install --url https://raw.githubusercontent.com/spinkube/spin-trigger-mqtt/main/trigger-mqtt-remote.json --yes
16+
spin plugin install --url https://github.com/spinkube/spin-trigger-mqtt/releases/download/v0.2.0/trigger-mqtt.json --yes
1717
```
1818

1919
[Note: release management for multiple versions of this plugin/trigger will be added soon]
-19.7 MB
Binary file not shown.

trigger-mqtt-remote.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)