-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #616 from knocte/nugetReleaseBeforeGitHubRelease
CI(publish): upload to nuget before creating GitHub release. Bonus: CI: improve some workflow/jobs/steps names.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,16 +22,21 @@ jobs: | |
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Restore tools | ||
run: dotnet tool restore | ||
- name: Run Test | ||
- name: Build | ||
run: dotnet fake build | ||
- name: Run build | ||
- name: Pack | ||
run: dotnet fake build -t Pack | ||
- name: Get Changelog Entry | ||
id: changelog_reader | ||
uses: mindsers/[email protected] | ||
with: | ||
version: ${{ github.ref }} | ||
path: ./CHANGELOG.md | ||
- name: Upload binaries to nuget | ||
env: | ||
nuget-key: ${{ secrets.NUGET_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: dotnet fake build -t Push | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@latest | ||
|
@@ -51,8 +56,3 @@ jobs: | |
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true | ||
- name: Upload binaries to nuget | ||
env: | ||
nuget-key: ${{ secrets.NUGET_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: dotnet fake build -t Push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters