Skip to content

Commit

Permalink
update actions akeyless-java (#12)
Browse files Browse the repository at this point in the history
* update actions

* update actions
  • Loading branch information
omriezra authored May 8, 2024
1 parent 0427c67 commit 3daafbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v4

- name: setup java
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'zulu'
java-version: '17'

- name: Publish package
run: mvn --batch-mode deploy
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build
run: mvn clean package

- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit 3daafbe

Please sign in to comment.