Skip to content

Commit

Permalink
Use ref of checkout action in publish-3.0.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored and tmihalac committed Oct 27, 2022
1 parent 73e800e commit 807e237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-3.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.baseVersion }}
token: ${{ secrets.JAKARTA_PUSH_PAT }}
- name: Set up JDK 11
uses: actions/setup-java@v3
Expand All @@ -33,8 +34,7 @@ jobs:
- name: Transform sources
run: |
export PATH="$HOME/.jbang/bin:$PATH"
git fetch --tags origin
git checkout -b temp-jakarta-rewrite ${{ inputs.baseVersion }}
git checkout -b temp-jakarta-rewrite
REWRITE_NO_TESTS=true ./jakarta/transform.sh
git push --force origin temp-jakarta-rewrite:3.0
shell: bash

0 comments on commit 807e237

Please sign in to comment.