Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify release publication #50

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/publish_release_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,12 @@ jobs:
contents: write
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will re-enable once the release action is working again

os: [ubuntu-latest]
toolchain:
- stable
steps:
- name: Checkout cedar-java
uses: actions/checkout@v3
- name: Checkout cedar
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We only release once published to crates.io, so we can get rid of this in all branches

uses: actions/checkout@v3
with:
repository: cedar-policy/cedar
ref: main
path: ./cedar
- name: rustup
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: cargo fmt
Expand All @@ -57,10 +51,6 @@ jobs:
- name: cargo test
working-directory: ./CedarJavaFFI
run: cargo test --verbose
- name: Build CedarJava
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will build (and test) once the release action is working again.

working-directory: ./CedarJava
shell: bash
run: bash config.sh && ./gradlew build
- name: Move libcedar_java_ffi files
working-directory: ./CedarJavaFFI
shell: bash
Expand Down