File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 2525
2626 - name : Run Capacitor Plugin Migration
2727 working-directory : plugin
28- run : npx @capacitor/plugin-migration-v6-to-v7@latest
28+ run : npx @capacitor/plugin-migration-v6-to-v7@latest
29+
30+ - name : Configure Git
31+ run : |
32+ git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
33+ 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 }}
37+
38+ - name : Create branch for migration
39+ run : git checkout -b plugin-migration-v7
40+
41+ - name : Commit plugin changes
42+ run : |
43+ git add .
44+ git commit -m "Migrate plugin to Capacitor v7"
45+
46+ - name : Push to branch
47+ run : |
48+ git push origin plugin-migration-v7
49+ env :
50+ CAP_GH_RELEASE_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments