diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f35d97f1..6486e207 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ on: - Push Container Images branches: - main - types: + types: - completed env: @@ -397,7 +397,7 @@ jobs: yarn --cwd electron-app rebuild yarn --cwd electron-app build yarn --cwd electron-app package - + # Both macOS jobs generate a "channel update info file" with same path and name. The second job to complete would # overwrite the file generated by the first in the workflow artifact. - name: Stage channel file for merge @@ -425,14 +425,13 @@ jobs: if-no-files-found: error name: ${{ env.STAGED_CHANNEL_FILES_ARTIFACT }} path: ${{ runner.os == 'Windows' && matrix.config.working-directory && format('{0}/{1}', matrix.config.working-directory, env.STAGED_CHANNEL_FILES_PATH) || env.STAGED_CHANNEL_FILES_PATH }} - - name: Upload [GitHub Actions] uses: actions/upload-artifact@v3 with: name: ${{ env.JOB_TRANSFER_ARTIFACT }} path: ${{ runner.os == 'Windows' && matrix.config.working-directory && format('{0}/{1}', matrix.config.working-directory, env.BUILD_ARTIFACTS_PATH) || env.BUILD_ARTIFACTS_PATH }} - + - name: Manual Clean up for self-hosted runners if: runner.os == 'Windows' && matrix.config.working-directory shell: cmd