Skip to content

Commit

Permalink
Update release-java.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Jul 17, 2024
1 parent 2c4dd47 commit a5bb9bf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
build_rust:
uses: ./.github/workflows/build-c-bindings.yml

# test-rust-crate:
# uses: ./.github/workflows/rust-test.yml
# secrets:
# INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
# INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
# INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
# INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}
test-rust-crate:
uses: ./.github/workflows/rust-test.yml
secrets:
INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}

build_java:
name: Build Java
runs-on: ubuntu-22.04
needs:
- generate_schemas
- build_rust
# - test-rust-crate
- test-rust-crate

steps:
- name: Checkout Repository
Expand Down Expand Up @@ -96,10 +96,10 @@ jobs:
echo "Listing files in languages/java/src/main/resources:"
ls -R languages/java/src/main/resources
# - name: Publish Maven
# uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # v2.8.1
# with:
# arguments: publish
# build-root-directory: languages/java
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Maven
uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # v2.8.1
with:
arguments: publish
build-root-directory: languages/java
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a5bb9bf

Please sign in to comment.