Skip to content

Commit fcb508c

Browse files
committed
Change remove build folder with elevated rights
1 parent fe9724a commit fcb508c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/upgrade-unity.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,17 @@ jobs:
4848
buildName: ${{ needs.variables.outputs.BUILD_NAME }}
4949
allowDirtyBuild: true
5050

51+
- name: Delete build folder with elevated rights
52+
run: sudo rm -r ./build
53+
5154
- name: Log git status
5255
run: git status
5356

5457
- name: Create Pull Request
5558
uses: peter-evans/create-pull-request@v4
5659
with:
5760
token: ${{ secrets.PR_GITHUB_TOKEN }}
58-
commit-message: "[Automated workflow] upgrade-unity to $UNITY_VERSION"
59-
branch: "ci/upgrade-unity/$UNITY_VERSION"
61+
commit-message: "[Automated workflow] upgrade-unity to ${{ inputs.unityVersion }}"
62+
branch: "ci/upgrade-unity/${{ inputs.unityVersion }}"
6063
delete-branch: true
61-
title: "[Automated Pull Request] upgrade-unity to $UNITY_VERSION"
62-
env:
63-
UNITY_VERSION: ${{ inputs.unityVersion }}
64+
title: "[Automated Pull Request] upgrade-unity to ${{ inputs.unityVersion }}"

0 commit comments

Comments
 (0)