Skip to content

Commit 6b239f0

Browse files
committed
chore: Update torque-cli installation command to use latest version and GitHub package source
1 parent 9cc1d97 commit 6b239f0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release_nuget.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ name: Release Nuget Package
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
77
workflow_dispatch:
88

99
jobs:
1010
push-nuget-package:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2
16-
16+
1717
- name: Verify commit exists in origin/master
1818
run: |
1919
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
@@ -25,18 +25,18 @@ jobs:
2525
run: dotnet build --configuration Release /p:Version=${VERSION}
2626

2727
- name: Test
28-
run: dotnet test --configuration Release --no-build /p:Version=${VERSION}
28+
run: dotnet test --configuration Release --no-build /p:Version=${VERSION}
2929

3030
- name: Pack
3131
run: dotnet pack --configuration Release --no-build --output . /p:Version=${VERSION}
3232

33-
# - name: Push
34-
# run: dotnet nuget push torque.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_TOKEN}
35-
# env:
36-
# NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
33+
- name: Push
34+
run: dotnet nuget push torque.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_TOKEN}
35+
env:
36+
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
3737

38-
# Push to GitHub Packages
38+
# Push to GitHub Packages
3939
- name: Push
4040
run: dotnet nuget push torque.${VERSION}.nupkg --source https://nuget.pkg.github.com/QualiNext/index.json --api-key ${GITHUB_TOKEN}
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)