Skip to content

Commit

Permalink
Update dotnetcore.yml
Browse files Browse the repository at this point in the history
added publish step
  • Loading branch information
Floydan authored May 17, 2020
1 parent b9c028a commit 015d210
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore -o ./artifacts -r linux-arm
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Publish
run: dotnet publish --configuration Release --no-restore --output ./publish --self-contained true --runtime linux-arm -p:PublishTrimmed=true
- name: Zip artifacts
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./release.zip ./artifacts
- name: Test
run: dotnet test --no-restore --verbosity normal
args: zip -qq -r ./release.zip ./publish
- name: Create release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 015d210

Please sign in to comment.