fix: incorrect path
All checks were successful
Release Rai.PacketMediator / preprocess (push) Successful in 3s
Release Rai.PacketMediator / build (push) Successful in 22s
Release Rai.PacketMediator / publish (push) Successful in 25s
Release Rai.PacketMediator / generate-licences (push) Successful in 33s

This commit is contained in:
Timothy Schenk 2024-04-04 16:38:25 +02:00
parent 4dc8fbe845
commit a66cb25802
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE

View file

@ -29,6 +29,7 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Build - name: Build
run: | run: |
cd RaiNote.PacketMediator
dotnet build RaiNote.PacketMediator.csproj -c Release dotnet build RaiNote.PacketMediator.csproj -c Release
publish: publish:
@ -48,12 +49,14 @@ jobs:
echo "Extracted version is $VERSION" echo "Extracted version is $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV
shell: bash shell: bash
- name: Pack nugets - name: Pack nuget package
run: | run: |
cd RaiNote.PacketMediator
dotnet build RaiNote.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}} dotnet build RaiNote.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}}
dotnet pack -c Release -p:PackageVersion=${{env.VERSION}} --output . dotnet pack -c Release -p:PackageVersion=${{env.VERSION}} --output .
- name: Push to NuGet - name: Push to NuGet
run: | run: |
cd RaiNote.PacketMediator
dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json
generate-licences: generate-licences: