Skip to content

Commit

Permalink
fix(workflow): retrieve branch for release
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-thorel-of committed Feb 7, 2024
1 parent c06e7e4 commit e824052
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: main
ref: ${{ github.event.release.target_commitish }}
- uses: actions/setup-java@v3
with:
java-version: '17'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy Package

on:
release:
types: [edited]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Info
run: |
echo "Launch info $${{ github.event.inputs }}"
echo "Release version: ${{ github.event.inputs.releaseVersion }}, Development version: ${{ github.event.inputs.developmentVersion }}"
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.target_commitish }}

0 comments on commit e824052

Please sign in to comment.