fix workflow
This commit is contained in:
@@ -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 }}
|
||||||
Reference in New Issue
Block a user