Skip to content

Commit

Permalink
CI Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Jun 7, 2023
1 parent b3bae5c commit 26ba04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Expand Up @@ -61,9 +61,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Pack Preview
if: github.event.inputs.is_release_event != 'true' || ${{ success() && github.ref != 'refs/heads/master' }}
if: ${{ success() && (github.event.inputs.is_release_event != 'true' || github.ref != 'refs/heads/master') }}
run: dotnet pack ${{ matrix.project }}/${{ matrix.project }}.csproj -c Release --no-restore -include-source --version-suffix "CI-${{ steps.current-time.outputs.formattedTime }}"
- name: Pack Release
if: github.event.inputs.is_release_event == 'true' && ${{ success() && github.ref == 'refs/heads/master' }}
if: ${{ success() && github.event.inputs.is_release_event == 'true' && github.ref == 'refs/heads/master' }}
run: dotnet pack ${{ matrix.project }}/${{ matrix.project }}.csproj -c Release --no-restore -include-source

0 comments on commit 26ba04a

Please sign in to comment.