Skip to content

Commit d00ffd0

Browse files
committed
retry
1 parent 0c27f43 commit d00ffd0

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
branch: [master, dev]
16-
1713
steps:
1814
- uses: actions/checkout@v3
1915
with:
@@ -55,11 +51,11 @@ jobs:
5551
run: pwsh -Command "ls *.symbols.nupkg -Recurse | Remove-Item -Verbose"
5652

5753
- name: Push to NuGet
58-
if: matrix.branch == 'master'
54+
if: github.ref_name == 'master'
5955
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 }}
6056

6157
- name: Create release
62-
if: matrix.branch == 'master'
58+
if: github.ref_name == 'master'
6359
run: |
6460
curl --silent \
6561
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \

0 commit comments

Comments
 (0)