File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 type : string
1010
1111permissions :
12- contents : read
12+ contents : write
1313 id-token : write
1414
1515jobs :
2020 - uses : actions/checkout@v4
2121 with :
2222 fetch-depth : 0
23+ token : ${{ secrets.GITHUB_TOKEN }}
2324
2425 - name : Checkout release branch
2526 run : |
3435 run : |
3536 chmod +x .github/scripts/publish-packages.sh
3637 .github/scripts/publish-packages.sh "${{ inputs.version }}" dart_node_react dart_node_react_native
38+
39+ - name : Switch dependencies to local
40+ run : dart run tools/switch_deps.dart local
41+
42+ - name : Commit local dependencies to release branch
43+ run : |
44+ git config user.name "github-actions[bot]"
45+ git config user.email "github-actions[bot]@users.noreply.github.com"
46+ git add -A
47+ if git diff --staged --quiet; then
48+ echo "No changes to commit"
49+ else
50+ git commit -m "chore: switch to local dependencies after publish"
51+ git push origin release/${{ inputs.version }}
52+ fi
You can’t perform that action at this time.
0 commit comments