Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilippov committed Sep 24, 2020
1 parent ebbcf10 commit 8bd69de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
working-directory: src/RefasmerExe

- name: Publish netcoreapp
run: dotnet publish --framework netcoreapp2.1 --configuration Release --no-restore
run: dotnet publish --framework netcoreapp3.1 --configuration Release --no-restore
working-directory: src/RefasmerExe

- name: Zip net461
Expand All @@ -38,5 +38,5 @@ jobs:

- name: Zip netcoreapp
run: zip Refasmer.netcoreapp.1.0.${{ github.run_number }}.zip *
working-directory: src/RefasmerExe/bin/Release/netcoreapp2.1/publish
working-directory: src/RefasmerExe/bin/Release/netcoreapp3.1/publish

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
working-directory: src/RefasmerExe

- name: Publish netcoreapp
run: dotnet publish --framework netcoreapp2.1 --configuration Release --no-restore
run: dotnet publish --framework netcoreapp3.1 --configuration Release --no-restore
working-directory: src/RefasmerExe

- name: Zip net461
Expand All @@ -38,7 +38,7 @@ jobs:

- name: Zip netcoreapp
run: zip Refasmer.netcoreapp.1.0.${{ github.run_number }}.zip *
working-directory: src/RefasmerExe/bin/Release/netcoreapp2.1/publish
working-directory: src/RefasmerExe/bin/Release/netcoreapp3.1/publish

- name: Create Release
id: create_release
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: src/RefasmerExe/bin/Release/netcoreapp2.1/publish/Refasmer.netcoreapp.1.0.${{ github.run_number }}.zip
asset_path: src/RefasmerExe/bin/Release/netcoreapp3.1/publish/Refasmer.netcoreapp.1.0.${{ github.run_number }}.zip
asset_name: Refasmer.netcoreapp.1.0.${{ github.run_number }}.zip
asset_content_type: application/zip

Expand Down

0 comments on commit 8bd69de

Please sign in to comment.