Skip to content

Commit

Permalink
Update merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhaugen authored Aug 8, 2023
1 parent a9ca802 commit 3cd35a0
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3cd35a0

Please sign in to comment.