-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43ad8d9
commit 208ff2e
Showing
1 changed file
with
3 additions
and
7 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 |
---|---|---|
|
@@ -23,22 +23,18 @@ jobs: | |
versionSpec: '5.x' | ||
- name: Determine Version | ||
uses: gittools/actions/gitversion/[email protected] | ||
- name: Display Version | ||
run: | | ||
echo "SemVer: $GITVERSION_SEMVER" | ||
echo "SemVer: $GITVERSION_NUGETVERSION" | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 5.0.201 | ||
- name: Restore | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build -c Release --no-restore | ||
run: dotnet build -c Release --no-restore -p:Version=$GITVERSION_NUGETVERSION | ||
- name: Test | ||
run: dotnet test -c Release | ||
run: dotnet test -c Release --no-restore | ||
- name: Pack | ||
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:Version=$GITVERSION_NUGETVERSION" -o ./artifacts | ||
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:Version=$GITVERSION_NUGETVERSION -o ./artifacts | ||
- name: Push to MyGet | ||
run: dotnet nuget push ./artifacts/*.nupkg --source https://www.myget.org/F/aisparser/api/v3/index.json --api-key ${{ secrets.MYGET_API_KEY }} | ||
- name: Artifacts | ||
|