File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name: Build package
33on :
44 push :
55 branches :
6- - master
6+ - main
77
88 pull_request :
99 branches :
10- - master
10+ - main
1111
1212concurrency : build-${{ github.ref }}
1313
Original file line number Diff line number Diff line change 5757 cache-from : |
5858 type=gha,scope=sha-${{ github.sha }}
5959 type=gha,scope=${{ github.ref_name }}
60- type=gha,scope=${{ github.base_ref || 'master ' }}
60+ type=gha,scope=${{ github.base_ref || 'main ' }}
6161 type=gha,scope=main
6262 cache-to : |
6363 type=gha,scope=sha-${{ github.sha }},mode=max
Original file line number Diff line number Diff line change 3838 steps :
3939 - name : Validate ref
4040 run : |
41- if [ "${{ github.ref }}" != refs/heads/master ]; then
42- >&2 echo "Invalid ref: ${{ github.ref }} (expected: refs/heads/master )"
41+ if [ "${{ github.ref }}" != refs/heads/main ]; then
42+ >&2 echo "Invalid ref: ${{ github.ref }} (expected: refs/heads/main )"
4343 exit 1
4444 fi
4545
You can’t perform that action at this time.
0 commit comments