From d3c050ce887e89e4adc5b3a11a62b54d65f0da42 Mon Sep 17 00:00:00 2001 From: axunonb Date: Thu, 2 Jan 2025 20:37:41 +0100 Subject: [PATCH] Update daily_build.yml --- .github/workflows/daily_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/daily_build.yml b/.github/workflows/daily_build.yml index bb72658f..ab91abbf 100644 --- a/.github/workflows/daily_build.yml +++ b/.github/workflows/daily_build.yml @@ -36,5 +36,12 @@ jobs: run: | dotnet build --no-restore --configuration Release Ical.Net/Ical.Net.csproj -p:Version=${{env.VERSION}} -p:FileVersion=${{env.VERSION}}.${{github.run_number}} -p:Nullable=disable -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true dotnet pack --configuration Release Ical.Net/Ical.Net.csproj -p:Version=${{env.VERSION}} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --no-build -p:PackageVersion=${{env.VERSION}}.${{github.run_number}} + - name: Store artifacts + uses: actions/upload-artifact@v4 + with: + name: ICal.Net_pkg_${{env.VERSION}}.${{github.run_number}} + path: | + Ical.Net/bin/Release/**/*.nupkg + Ical.Net/bin/Release/**/*.snupkg - name: Push package to GitHub Packages run: dotnet nuget push Ical.Net/bin/Release/Ical.Net.${{env.VERSION}}.${{github.run_number}}.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate