Skip to content

Commit

Permalink
Run publish locally
Browse files Browse the repository at this point in the history
  • Loading branch information
flaub committed Oct 31, 2023
1 parent c39ff83 commit ec4b227
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,9 @@ jobs:
generate_release_notes: true
# tag_name: ${{ env.TAG }} # only for testing

publish:
runs-on: [self-hosted, prod, Linux, cpu]
needs: release
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rustup
- uses: risc0/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1
with:
crate: cargo-release
version: "0.24"
- run: cargo release publish --execute --no-confirm --allow-branch HEAD

linux:
runs-on: [self-hosted, prod, Linux, docker, cpu]
needs: publish
needs: release
container:
image: nvidia/cuda:12.2.2-devel-ubuntu20.04
env:
Expand Down Expand Up @@ -83,7 +71,7 @@ jobs:

macos:
runs-on: [self-hosted, prod, macOS, apple_m2_pro]
needs: publish
needs: release
env:
RUSTC_WRAPPER: sccache
TARGET: aarch64-apple-darwin
Expand Down

1 comment on commit ec4b227

@vercel
Copy link

@vercel vercel bot commented on ec4b227 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.