Skip to content

Commit

Permalink
Merge pull request #19 from saschpe/actions-checkout-ref
Browse files Browse the repository at this point in the history
GitHub Actions: Checkout branch instead of SHA
  • Loading branch information
saschpe authored Mar 23, 2024
2 parents b76e8b0 + 4b3a66b commit d16b1d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -51,6 +53,8 @@ jobs:
SONATYPE_GPG_KEY_PASSWORD: ${{ secrets.SONATYPE_GPG_KEY_PASSWORD }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit d16b1d7

Please sign in to comment.