-
Notifications
You must be signed in to change notification settings - Fork 12
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 #26 from nullfx/issue-25
Issue 25
- Loading branch information
Showing
5 changed files
with
31 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,12 +24,24 @@ jobs: | |
3.1.x | ||
6.0.x | ||
7.0.x | ||
- name: replace version tokens | ||
uses: cschleiden/[email protected] | ||
with: | ||
files: '["**/*.csproj"]' | ||
env: | ||
RELEASE_VERSION: ${{ vars.RELEASE_VERSION }} | ||
- name: install dependencies | ||
run: dotnet restore | ||
- name: build | ||
run: dotnet build | ||
- name: test | ||
run: dotnet restore | ||
- name: build source | ||
run: dotnet build -c Release | ||
- name: run tests | ||
run: dotnet test | ||
- name: create nuget packages | ||
run: dotnet pack -c Release -o ./out | ||
- name: push nuget packages to github | ||
run: dotnet nuget push "./out/NullFX.CRC.${{ vars.RELEASE_VERSION }}.nupkg" -s "https://nuget.pkg.github.com/nullfx/index.json" -k "${{ secrets.GITHUB_TOKEN }}" | ||
- name: push nuget packages to nuget.org | ||
run: dotnet nuget push "./out/NullFX.CRC.${{ vars.RELEASE_VERSION }}.nupkg" --skip-duplicate -s "https://api.nuget.org/v3/index.json" -k "${{ secrets.NUGET_ORG_API_KEY }}" | ||
- name: Cache SonarCloud packages | ||
uses: actions/cache@v1 | ||
with: | ||
|
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
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