Skip to content

Commit

Permalink
Combine setup and start in single line
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumar committed Dec 3, 2024
1 parent f0df825 commit e07f58e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ runs:
crc config set preset ${PRESET}
crc config set pull-secret-file pull-secret
crc config set network-mode user
- name: Setup the crc
- name: Setup and Start the crc
shell: bash
run: sudo -su $USER crc setup
- name: Start the crc
shell: bash
run: sudo -su $USER crc start
run: |
sudo -su $USER crc setup
sudo -su $USER crc start
sleep 60
- name: Copy OpenShift client
shell: bash
run: sudo cp /home/$USER/.crc/bin/oc/oc /usr/bin/
Expand Down

0 comments on commit e07f58e

Please sign in to comment.