Skip to content

Commit

Permalink
Further fixes to the manual release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Sep 4, 2024
1 parent ba91906 commit feb6bb3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "DOTNET_TFM=$DOTNET_TFM" >> $GITHUB_ENV
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}

Expand All @@ -50,11 +50,19 @@ jobs:
with:
token: ${{ secrets.OCM_CODECOV_TOKEN }}

pack:
needs: build

runs-on: ubuntu-latest
name: "Pack"
steps:
- uses: actions/checkout@v4

- name: Pack
run: dotnet pack --configuration Release --no-restore --no-build --include-symbols -p:PackageVersion=${{ inputs.version }} --output ./nuget
run: dotnet pack --configuration Release --include-symbols -p:PackageVersion=$VERSION --output ./nuget

- name: Push Packages to GitHub NuGet
run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}} --source "https://nuget.pkg.github.com/deveel/index.json"

- name: Push Packages to GitHub NuGet
run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
- name: Push Packages to NuGet
run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

0 comments on commit feb6bb3

Please sign in to comment.