25
25
- parachain-metadata-kintsugi
26
26
27
27
steps :
28
- - uses : actions/checkout@v3
28
+ - uses : actions/checkout@v4
29
29
- run : git fetch --prune --unshallow
30
30
- name : Install System Dependencies
31
31
run : |
@@ -63,26 +63,26 @@ jobs:
63
63
run : |
64
64
cargo build --release --workspace --features ${{ matrix.metadata }}
65
65
- name : upload artifacts - vault
66
- uses : actions/upload-artifact@v3
66
+ uses : actions/upload-artifact@v4
67
67
with :
68
68
name : vault-${{ matrix.metadata }}
69
69
path : target/release/vault
70
70
retention-days : 10
71
71
- name : upload artifacts - oracle
72
- uses : actions/upload-artifact@v3
72
+ uses : actions/upload-artifact@v4
73
73
with :
74
74
name : oracle-${{ matrix.metadata }}
75
75
path : target/release/oracle
76
76
retention-days : 10
77
77
- name : upload artifacts - faucet
78
- uses : actions/upload-artifact@v3
78
+ uses : actions/upload-artifact@v4
79
79
with :
80
80
name : faucet-${{ matrix.metadata }}
81
81
path : target/release/faucet
82
82
retention-days : 10
83
83
- name : upload artifacts - runner
84
84
if : matrix.metadata == 'parachain-metadata-kintsugi'
85
- uses : actions/upload-artifact@v3
85
+ uses : actions/upload-artifact@v4
86
86
with :
87
87
name : runner
88
88
path : target/release/runner
@@ -100,15 +100,15 @@ jobs:
100
100
- parachain-metadata-interlay
101
101
- parachain-metadata-kintsugi
102
102
steps :
103
- - uses : actions/checkout@v3
103
+ - uses : actions/checkout@v4
104
104
- name : Prepare
105
105
id : prep
106
106
run : |
107
107
TS=$(date +%s)
108
108
echo "branch_name=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT
109
109
echo "tag=$(echo ${{ matrix.client }}-${{ matrix.metadata }}-)" >> $GITHUB_OUTPUT
110
110
echo "ts=$TS" >> $GITHUB_OUTPUT
111
- - uses : actions/download-artifact@v3
111
+ - uses : actions/download-artifact@v4
112
112
with :
113
113
name : ${{ matrix.client }}-${{ matrix.metadata }}
114
114
path : artifacts/
@@ -117,30 +117,30 @@ jobs:
117
117
mkdir -p ./target/release/
118
118
mv ./artifacts/${{ matrix.client }} ./target/release/${{ matrix.client }}-${{ matrix.metadata }}
119
119
- name : Set up QEMU
120
- uses : docker/setup-qemu-action@v2
120
+ uses : docker/setup-qemu-action@v3
121
121
122
122
- name : Setup docker context for buildx
123
123
id : buildx-context
124
124
run : |
125
125
docker context create builders
126
126
- name : Set up Docker Buildx
127
127
id : buildx
128
- uses : docker/setup-buildx-action@v2
128
+ uses : docker/setup-buildx-action@v3
129
129
with :
130
130
endpoint : builders
131
131
132
132
- name : Available platforms
133
133
run : echo ${{ steps.buildx.outputs.platforms }}
134
134
135
135
- name : Login to Dockerhub
136
- uses : docker/login-action@v2
136
+ uses : docker/login-action@v3
137
137
with :
138
138
username : ${{ secrets.DOCKERHUB_USERNAME }}
139
139
password : ${{ secrets.DOCKERHUB_TOKEN }}
140
140
141
141
- name : Docker meta
142
142
id : meta
143
- uses : docker/metadata-action@v4
143
+ uses : docker/metadata-action@v5
144
144
with :
145
145
images : docker.io/interlayhq/interbtc-clients
146
146
tags : |
@@ -149,7 +149,7 @@ jobs:
149
149
type=ref,event=tag,prefix=${{ matrix.client }}-${{ matrix.metadata }}-
150
150
- name : Build and push
151
151
id : docker_build
152
- uses : docker/build-push-action@v4
152
+ uses : docker/build-push-action@v6
153
153
with :
154
154
push : ${{ github.event_name != 'pull_request' }}
155
155
tags : ${{ steps.meta.outputs.tags }}
@@ -166,49 +166,49 @@ jobs:
166
166
needs : [test]
167
167
runs-on : [self-hosted, linux]
168
168
steps :
169
- - uses : actions/checkout@v3
169
+ - uses : actions/checkout@v4
170
170
- name : Prepare
171
171
id : prep
172
172
run : |
173
173
TS=$(date +%s)
174
174
echo "branch_name=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT
175
175
echo "ts=$TS" >> $GITHUB_OUTPUT
176
- - uses : actions/download-artifact@v3
176
+ - uses : actions/download-artifact@v4
177
177
with :
178
178
path : artifacts/
179
179
- name : Set up QEMU
180
- uses : docker/setup-qemu-action@v2
180
+ uses : docker/setup-qemu-action@v3
181
181
182
182
- name : Setup docker context for buildx
183
183
id : buildx-context
184
184
run : |
185
185
docker context create builders
186
186
- name : Set up Docker Buildx
187
187
id : buildx
188
- uses : docker/setup-buildx-action@v2
188
+ uses : docker/setup-buildx-action@v3
189
189
with :
190
190
endpoint : builders
191
191
192
192
- name : Available platforms
193
193
run : echo ${{ steps.buildx.outputs.platforms }}
194
194
195
195
- name : Login to Dockerhub
196
- uses : docker/login-action@v2
196
+ uses : docker/login-action@v3
197
197
with :
198
198
username : ${{ secrets.DOCKERHUB_USERNAME }}
199
199
password : ${{ secrets.DOCKERHUB_TOKEN }}
200
200
201
201
- name : Docker meta
202
202
id : meta
203
- uses : docker/metadata-action@v4
203
+ uses : docker/metadata-action@v5
204
204
with :
205
205
images : docker.io/interlayhq/interbtc-clients
206
206
tags : |
207
207
type=sha,prefix=${{ steps.prep.outputs.branch_name }}-,suffix=-${{ steps.prep.outputs.ts }}
208
208
209
209
- name : Build and push
210
210
id : docker_build
211
- uses : docker/build-push-action@v4
211
+ uses : docker/build-push-action@v6
212
212
with :
213
213
push : ${{ github.event_name != 'pull_request' }}
214
214
tags : ${{ steps.meta.outputs.tags }}
@@ -222,8 +222,8 @@ jobs:
222
222
runs-on : [self-hosted, linux]
223
223
needs : [test]
224
224
steps :
225
- - uses : actions/checkout@v3
226
- - uses : actions/download-artifact@v3
225
+ - uses : actions/checkout@v4
226
+ - uses : actions/download-artifact@v4
227
227
with :
228
228
path : artifacts
229
229
@@ -242,9 +242,9 @@ jobs:
242
242
243
243
git-chglog --output CHANGELOG.md $GITHUB_REF_NAME
244
244
- name : Release
245
- uses : softprops/action-gh-release@v1
245
+ uses : softprops/action-gh-release@v2
246
246
with :
247
247
body_path : CHANGELOG.md
248
248
draft : true
249
249
files : |
250
- artifacts/**/*
250
+ artifacts/**/*
0 commit comments