Skip to content

Commit c210c36

Browse files
authored
chore(ci): fix bb publishing (#8486)
bb releases are broken again due to using deprecated actions. I've also added the `issues` permission to this workflow as the action to raise issues when nightly builds fail isn't working although we don't need this in the noir org for some reason (maybe there's some org setup which differs).
1 parent dca74ae commit c210c36

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/publish-bb.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
permissions:
1818
# Necessary to upload new release artifacts
1919
contents: write
20+
issues: write
2021

2122
jobs:
2223
build-x86_64-linux-gnu:
@@ -59,7 +60,7 @@ jobs:
5960
run: tar -cvzf barretenberg-x86_64-linux-gnu.tar.gz bb
6061

6162
- name: Upload artifacts
62-
uses: actions/upload-artifact@v2
63+
uses: actions/upload-artifact@v4
6364
with:
6465
name: release-linux
6566
path: |
@@ -128,7 +129,7 @@ jobs:
128129
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
129130

130131
- name: Upload artifacts
131-
uses: actions/upload-artifact@v2
132+
uses: actions/upload-artifact@v4
132133
with:
133134
name: release-wasm
134135
path: |
@@ -163,7 +164,7 @@ jobs:
163164
7z a -ttar -so -an ./dist/* | 7z a -si ./barretenberg-x86_64-apple-darwin.tar.gz
164165
165166
- name: Upload artifact
166-
uses: actions/upload-artifact@v3
167+
uses: actions/upload-artifact@v4
167168
with:
168169
name: barretenberg-x86_64-apple-darwin
169170
path: ./barretenberg/cpp/build/bin/barretenberg-x86_64-apple-darwin.tar.gz
@@ -195,7 +196,7 @@ jobs:
195196
7z a -ttar -so -an ./dist/* | 7z a -si ./barretenberg-aarch64-apple-darwin.tar.gz
196197
197198
- name: Upload artifact
198-
uses: actions/upload-artifact@v3
199+
uses: actions/upload-artifact@v4
199200
with:
200201
name: barretenberg-aarch64-apple-darwin
201202
path: ./barretenberg/cpp/build/bin/barretenberg-aarch64-apple-darwin.tar.gz
@@ -243,22 +244,22 @@ jobs:
243244
runs-on: ubuntu-latest
244245
steps:
245246
- name: Download files from Linux Runner
246-
uses: actions/download-artifact@v2
247+
uses: actions/download-artifact@v4
247248
with:
248249
name: release-linux
249250

250251
- name: Download files for WASM
251-
uses: actions/download-artifact@v2
252+
uses: actions/download-artifact@v4
252253
with:
253254
name: release-wasm
254255

255256
- name: Download files from x86_64 Mac Runner
256-
uses: actions/download-artifact@v2
257+
uses: actions/download-artifact@v4
257258
with:
258259
name: barretenberg-x86_64-apple-darwin
259260

260261
- name: Download files from aarch64 Mac Runner
261-
uses: actions/download-artifact@v2
262+
uses: actions/download-artifact@v4
262263
with:
263264
name: barretenberg-aarch64-apple-darwin
264265

0 commit comments

Comments
 (0)