update actions yaml
Some checks failed
dotnet-publish-nuget / Pack-And-Publish (push) Failing after 1m15s
Some checks failed
dotnet-publish-nuget / Pack-And-Publish (push) Failing after 1m15s
This commit is contained in:
parent
762803ac0a
commit
925e8a21e3
@ -1,20 +1,24 @@
|
|||||||
name: dotnet-publish-nuget
|
name: dotnet-publish-nuget
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
env:
|
||||||
|
DOTNET_VERSION: 8.x
|
||||||
|
DOTNET_NUGET_SOURCE_URL: https://git.mworkspace.cn/api/packages/GiteaActionsSample/nuget/index.json
|
||||||
jobs:
|
jobs:
|
||||||
Pack-And-Publish:
|
Pack-And-Publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: List files in the repos
|
||||||
|
run: ls ${{ gitea.workspace }} && ls $GITEA_WORKSPACE
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.x
|
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||||
cache: true
|
cache: true
|
||||||
source-url: https://git.mworkspace.cn/api/packages/GiteaActionsSample/nuget/index.json
|
source-url: ${{ env.DOTNET_NUGET_SOURCE_URL }}
|
||||||
env:
|
env:
|
||||||
NUGET_AUTH_TOKEN: ${{secrets.NUGET_APIKEY}}
|
NUGET_AUTH_TOKEN: ${{secrets.NUGET_APIKEY}}
|
||||||
- name: List files in the repos
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
run: ls ${{ gitea.workspace }} && ls $GITEA_WORKSPACE
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user