Skip to content

Commit

Permalink
Merge pull request #47 from saschpe/gh.checkout
Browse files Browse the repository at this point in the history
Github: Checkout `main` branch instead of ref on publish job
  • Loading branch information
saschpe authored May 27, 2024
2 parents 0206999 + 34a91ce commit 0e7b963
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ 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 @@ -55,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
ref: refs/heads/main
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 0e7b963

Please sign in to comment.