Skip to content

Commit

Permalink
uPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Dec 25, 2023
1 parent 0e0ce05 commit 4611c40
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@ jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true

# Switch to a new branch with the PR number and PR branch name,
# for the projects where the buildscript uses the branch name
- name: Create branch for commit
run:
git switch -C pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.ref }}

- name: Make Gradle executable
# language=bash
run: chmod +x ./gradlew # Thanks Windows
Expand Down

0 comments on commit 4611c40

Please sign in to comment.