-
Couldn't load subscription status.
- Fork 794
[CI] Change pack_release -> release_toolchain_artifact input
#19646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,9 +58,13 @@ on: | |
| type: string | ||
| default: llvm_sycl.tar.zst | ||
|
|
||
| pack_release: | ||
| release_toolchain_artifact: | ||
| type: string | ||
| required: false | ||
| description: | | ||
| If provided, create an addition toolchain artifact with the same name | ||
| (`inputs.toolchain_artifact_filename`) as `toolchain_artifact` above | ||
|
||
| but without utilities used for testing. | ||
|
|
||
| e2e_binaries_artifact: | ||
| type: string | ||
|
|
@@ -117,18 +121,15 @@ on: | |
| options: | ||
| - "default" | ||
|
|
||
| toolchain_artifact: | ||
| type: choice | ||
| options: | ||
| - "sycl_linux_default" | ||
| retention-days: | ||
| type: choice | ||
| options: | ||
| - 3 | ||
|
|
||
| pack_release: | ||
| type: string | ||
| required: false | ||
| toolchain_artifact: | ||
| type: choice | ||
| options: | ||
| - "sycl_linux_default" | ||
|
|
||
| permissions: read-all | ||
|
|
||
|
|
@@ -272,13 +273,13 @@ jobs: | |
| cmake --build $GITHUB_WORKSPACE/build --target deploy-sycl-toolchain | ||
|
|
||
| - name: Pack toolchain release | ||
| if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }} | ||
| if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != '' }} | ||
| run: tar -I '${{ steps.artifact_info.outputs.COMPRESS }}' -cf ${{ steps.artifact_info.outputs.ARCHIVE_NAME }} -C $GITHUB_WORKSPACE/toolchain . | ||
| - name: Upload toolchain release | ||
| if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }} | ||
| if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != '' }} | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: sycl_linux_release | ||
| name: ${{ inputs.release_toolchain_artifact }} | ||
| path: ${{ steps.artifact_info.outputs.ARCHIVE_NAME }} | ||
| retention-days: ${{ inputs.retention-days }} | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo?
Same for windows