Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyvv committed Feb 8, 2022
1 parent 741d9c9 commit 3eb7f0f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,6 @@ on:
branches: master

jobs:
nuget:
name: Publish Alex.MoLang to NuGET
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'

- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 6.0.x

- name: Publish
run: |
dotnet build -c Release src/Alex.MoLang/Alex.MoLang.csproj
dotnet pack --no-build -c Release /p:Version="1.0.${{github.run_id}}" src/Alex.MoLang/Alex.MoLang.csproj -o .
dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_PUBLISH_KEY}} --skip-duplicate
package:
name: Build
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 3eb7f0f

Please sign in to comment.