-
Notifications
You must be signed in to change notification settings - Fork 6
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
a9ca802
commit 3cd35a0
Showing
1 changed file
with
7 additions
and
11 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 |
---|---|---|
|
@@ -16,8 +16,14 @@ jobs: | |
- name: Set execution permissions for build.ps1 | ||
run: chmod +x build.ps1 | ||
working-directory: src | ||
- name: Find Latest Tag | ||
id: find | ||
uses: oprypin/[email protected] | ||
with: | ||
repository: ${{ github.repository }} | ||
releases-only: true | ||
- name: Build | ||
run: pwsh build.ps1 -configuration Release | ||
run: pwsh build.ps1 -configuration Release -version ${{ steps.find.outputs.tag }} -versionSuffix "-build$GITHUB_RUN_NUMBER" | ||
working-directory: src | ||
- name: Push NuGets | ||
run: dotnet nuget push ".artifacts/packages/*.nupkg" -k ${{ secrets.NugetKey }} -s https://api.nuget.org/v3/index.json --skip-duplicate | ||
|
@@ -40,13 +46,3 @@ jobs: | |
# env: | ||
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
#- name: Find Latest Tag | ||
# id: find | ||
# uses: oprypin/[email protected] | ||
# with: | ||
# repository: ${{ github.repository }} | ||
# releases-only: true | ||
#- name: Pack NuGet | ||
# run: dotnet pack --configuration Release -v m --output nupkgs -p:PackageVersion=${{ steps.find.outputs.tag }}-build$GITHUB_RUN_NUMBER | ||
|
||
#run: dotnet nuget push "**/Frank.Libraries.*.${{ steps.find.outputs.tag }}-build$GITHUB_RUN_NUMBER.nupkg" -k ${{ secrets.NugetKey }} -s https://api.nuget.org/v3/index.json --skip-duplicate |