Skip to content

Commit

Permalink
finished checksums in release
Browse files Browse the repository at this point in the history
  • Loading branch information
ohuu committed Aug 27, 2024
1 parent c4ba101 commit e863035
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,32 +91,31 @@ jobs:
name: cardamon-${{ matrix.os }}
path: uploads/

# publish_crate:
# needs: [build]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout cardamon
# uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: Setup NodeJS
# uses: actions/setup-node@v4
# with:
# node-version: "20.x"
#
# - name: Build UI
# run: cd ui && npm install && npm run build:release
#
# - name: Setup Rust
# uses: actions-rust-lang/setup-rust-toolchain@v1
#
# - name: Build Cardamon
# run: cargo publish --no-verify --allow-dirty --token ${{ secrets.CRATES_IO_TOKEN }}
publish_crate:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout cardamon
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "20.x"

- name: Build UI
run: cd ui && npm install && npm run build:release

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Build Cardamon
run: cargo publish --no-verify --allow-dirty --token ${{ secrets.CRATES_IO_TOKEN }}

release:
# needs: [publish_crate]
needs: [build]
needs: [publish_crate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit e863035

Please sign in to comment.