diff --git a/.github/workflows/build-master.yaml b/.github/workflows/build-master.yaml index 6d6e53a..969b4aa 100644 --- a/.github/workflows/build-master.yaml +++ b/.github/workflows/build-master.yaml @@ -18,9 +18,12 @@ jobs: - run: dotnet build -c Debug -p:DefineConstants=RUNNING_IN_CI - run: dotnet pack ./src/LogicLooper/LogicLooper.csproj -c Debug --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg - run: dotnet test -c Debug --no-build - - uses: actions/upload-artifact@v4 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: + name: nuget path: ./src/LogicLooper/bin/Debug/*.*nupkg + retention-days: 1 + test-release-build: name: Run tests using Release build needs: [ build-debug ] diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 1b40845..cb5e6a4 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -21,10 +21,11 @@ jobs: - run: dotnet build -c Release -p:VersionPrefix=${{ inputs.tag }} -p:DefineConstants=RUNNING_IN_CI - run: dotnet test -c Release --no-build - run: dotnet pack -c Release --no-build -p:VersionPrefix=${{ inputs.tag }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o ./publish - - uses: actions/upload-artifact@v4 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: nuget path: ./publish + retention-days: 1 create-release: needs: [build-dotnet]