Run rhoai-disconnected-helper z stream #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run rhoai-disconnected-helper z stream | |
on: | |
workflow_dispatch: | |
inputs: | |
repositories: | |
type: string | |
description: "Enter z-stream version (rhoai-x.y.z)" | |
required: true | |
channel_input: | |
type: string | |
description: "Enter channel" | |
required: true | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run rhoai-disconnected-helper-z-stream.sh script | |
run: | | |
chmod +x rhoai-disconnected-helper-z-stream.sh | |
chmod +x rhoai-dih.sh | |
trimmed_version=$(./rhoai-disconnected-helper-z-stream.sh "${{ github.event.inputs.repositories }}" "${{ github.event.inputs.channel_input }}") | |
echo "Trimmed Version: $trimmed_version" | |
shell: bash | |
- name: Commit and push changes to main branch | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: main | |
message: "Update rhoai-disconnected-helper-z-stream.sh script" | |
repository: red-hat-data-services/rhoai-disconnected-install-helper |