Skip to content

Commit bff7fb2

Browse files
committed
Main branch is called main rather than master
1 parent a9ca9ed commit bff7fb2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- "docs/**"
99
- ".vscode/**"
@@ -12,7 +12,7 @@ on:
1212
- "**/*.md"
1313
pull_request:
1414
branches:
15-
- master
15+
- main
1616
release:
1717
types:
1818
- released
@@ -122,12 +122,12 @@ jobs:
122122
token: ${{ secrets.GITHUB_TOKEN }}
123123
publish:
124124
needs: build
125-
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'master'
125+
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'main'
126126
runs-on: ubuntu-latest
127127
steps:
128128
- uses: actions/checkout@v3
129129
with:
130-
ref: master
130+
ref: main
131131
token: ${{ secrets.TOKEN }}
132132
- uses: actions/download-artifact@v3
133133
with:

0 commit comments

Comments
 (0)