Skip to content

Commit 004b34b

Browse files
update github action
1 parent fab2ffe commit 004b34b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/upgrade.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
1616

17-
# - name: Setup Tools
18-
# uses: ./.github/actions/setup-tools
17+
- name: Setup Tools
18+
uses: ./.github/actions/setup-tools
1919

2020
- name: List installed Java versions
2121
run: /usr/libexec/java_home -V
@@ -31,9 +31,6 @@ jobs:
3131
run: |
3232
git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
3333
git config user.email "users.noreply.github.com"
34-
git remote set-url origin https://x-access-token:${CAP_GH_RELEASE_TOKEN}@github.com/${{ github.repository }}.git
35-
env:
36-
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
3734
3835
- name: Create branch for migration
3936
run: git checkout -b plugin-migration-v7
@@ -45,6 +42,4 @@ jobs:
4542
4643
- name: Push to branch
4744
run: |
48-
git push origin plugin-migration-v7
49-
env:
50-
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
45+
git push origin plugin-migration-v7

0 commit comments

Comments
 (0)