Skip to content

Commit

Permalink
chore(ci): fix bb publishing (#8486)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
TomAFrench authored Sep 11, 2024
1 parent dca74ae commit c210c36
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish-bb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
permissions:
# Necessary to upload new release artifacts
contents: write
issues: write

jobs:
build-x86_64-linux-gnu:
Expand Down Expand Up @@ -59,7 +60,7 @@ jobs:
run: tar -cvzf barretenberg-x86_64-linux-gnu.tar.gz bb

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: release-linux
path: |
Expand Down Expand Up @@ -128,7 +129,7 @@ jobs:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: release-wasm
path: |
Expand Down Expand Up @@ -163,7 +164,7 @@ jobs:
7z a -ttar -so -an ./dist/* | 7z a -si ./barretenberg-x86_64-apple-darwin.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: barretenberg-x86_64-apple-darwin
path: ./barretenberg/cpp/build/bin/barretenberg-x86_64-apple-darwin.tar.gz
Expand Down Expand Up @@ -195,7 +196,7 @@ jobs:
7z a -ttar -so -an ./dist/* | 7z a -si ./barretenberg-aarch64-apple-darwin.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: barretenberg-aarch64-apple-darwin
path: ./barretenberg/cpp/build/bin/barretenberg-aarch64-apple-darwin.tar.gz
Expand Down Expand Up @@ -243,22 +244,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download files from Linux Runner
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: release-linux

- name: Download files for WASM
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: release-wasm

- name: Download files from x86_64 Mac Runner
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: barretenberg-x86_64-apple-darwin

- name: Download files from aarch64 Mac Runner
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: barretenberg-aarch64-apple-darwin

Expand Down

0 comments on commit c210c36

Please sign in to comment.