We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c27f43 commit d00ffd0Copy full SHA for d00ffd0
1 file changed
.github/workflows/build.yml
@@ -10,10 +10,6 @@ jobs:
10
build:
11
runs-on: ubuntu-latest
12
13
- strategy:
14
- matrix:
15
- branch: [master, dev]
16
-
17
steps:
18
- uses: actions/checkout@v3
19
with:
@@ -55,11 +51,11 @@ jobs:
55
51
run: pwsh -Command "ls *.symbols.nupkg -Recurse | Remove-Item -Verbose"
56
52
57
53
- name: Push to NuGet
58
- if: matrix.branch == 'master'
54
+ if: github.ref_name == 'master'
59
run: dotnet nuget push src/SyntaxImprovement/bin/Release/oledid.SyntaxImprovement.*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_API_KEY }}
60
61
- name: Create release
62
63
run: |
64
curl --silent \
65
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
0 commit comments