Skip to content

Commit 5518e32

Browse files
committed
Adjust CI workflow
1 parent 46884b6 commit 5518e32

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 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
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ${{ matrix.os }}
2323
strategy:
2424
matrix:
25-
os: [ubuntu-latest, windows-latest, macOS-latest]
25+
os: [windows-latest]
2626
outputs:
2727
name: ${{ steps.set-version.outputs.name }}
2828
version: ${{ steps.set-version.outputs.version }}
@@ -99,12 +99,12 @@ jobs:
9999
files: ${{ needs.build.outputs.name }}.vsix
100100
publish:
101101
needs: build
102-
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'master'
102+
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'main'
103103
runs-on: windows-latest
104104
steps:
105105
- uses: actions/checkout@v3
106106
with:
107-
ref: master
107+
ref: main
108108
token: ${{ secrets.TOKEN }}
109109
- name: Use Node.js
110110
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)