fix workflow

This commit is contained in:
2022-11-11 11:49:13 +01:00
parent 4bff3fa12f
commit ae65551d30
+2 -2
View File
@@ -8,7 +8,7 @@ jobs:
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Verify commit exists in origin/main - name: Verify commit exists in origin/main
run: | run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
@@ -20,4 +20,4 @@ jobs:
- name: Pack - name: Pack
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output . run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
- name: Push - name: Push
run: dotnet nuget push ViteProxy.${VERSION}.nupkg --api-key ${secrets.NUGET_PUSH_API_KEY} run: dotnet nuget push ViteProxy.${VERSION}.nupkg --api-key ${{ secrets.NUGET_PUSH_API_KEY }}