Skip to content

Commit

Permalink
reenable publish step for release
Browse files Browse the repository at this point in the history
  • Loading branch information
DeaconDesperado committed Oct 27, 2023
1 parent 64d5f95 commit 5b41462
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,26 @@ jobs:
target/aarch64-apple-darwin/release/nektar
#publish:
# needs: [build-linux-x86_64, build-aarch64-darwin]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Install stable toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true
publish:
needs: [build-linux-x86_64, build-aarch64-darwin]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

# - run: cargo publish --token ${CRATES_TOKEN}
# env:
# CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

release:
#needs: [publish]
needs: [build-linux-x86_64, build-aarch64-darwin]
needs: [publish]
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit 5b41462

Please sign in to comment.