diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 883a8f7b3..fee5819f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,17 +29,10 @@ jobs: - name: Setup matrix id: setup-matrix shell: pwsh - env: - SECRET_VALUE: ${{ secrets.ARTIFACTORY_READ_TOKEN }} run: | $Jobs = @() $Archs = @( 'x86_64', 'arm64' ) - $Platforms = @( 'linux' ) - if ($Env:SECRET_VALUE -Eq '') { - echo "::warning::Secrets not available, some jobs will be skipped" - } else { - $Platforms += 'windows' - } + $Platforms = @( 'linux', 'windows' ) $Platforms | ForEach-Object { $Runner = switch ($_) { 'windows' { 'windows-2022' } 'linux' { 'ubuntu-20.04' } } @@ -279,7 +272,7 @@ jobs: name: devolutions-gateway-web-ui runs-on: ubuntu-latest needs: preflight - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository steps: - name: Checkout ${{ github.repository }} @@ -349,7 +342,7 @@ jobs: - name: Download webapp-client uses: actions/download-artifact@v4 - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository with: name: webapp-client path: webapp/client @@ -419,7 +412,7 @@ jobs: - name: Package shell: pwsh - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository env: TARGET_OUTPUT_PATH: ${{ steps.load-variables.outputs.target-output-path }} DGATEWAY_EXECUTABLE: ${{ steps.load-variables.outputs.dgateway-executable }}