Skip to content

Commit

Permalink
apply to release
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseChouleur committed Sep 27, 2023
1 parent de5b0fa commit ff7e856
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
build-and-test:
uses: ./.github/workflows/setup_and_test.yml
publish:
name: Publish
runs-on: ubuntu-latest
Expand All @@ -19,8 +21,6 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- uses: ./.github/workflows/setup_and_test.yml

- name: Publish release
run: cargo publish --token ${CRATES_TOKEN}
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/setup_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
run: |
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/lib/server" >> "$GITHUB_ENV"
- name: Checkout sources
uses: actions/checkout@v4

- name: Build
run: cargo build --verbose

Expand Down

0 comments on commit ff7e856

Please sign in to comment.