mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-27 13:34:44 -05:00
ci: fix workflows
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
38cc2c1ab0
commit
09969afd57
17 changed files with 74 additions and 58 deletions
6
.github/workflows/update-cli-reference.yml
vendored
6
.github/workflows/update-cli-reference.yml
vendored
|
|
@ -31,12 +31,12 @@ jobs:
|
|||
|
||||
- name: Get commit sha
|
||||
run: |
|
||||
echo "COMMIT_END=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV
|
||||
echo "COMMIT_END=$(echo ${{ github.sha }} | cut -c1-8)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Check if action branch exists
|
||||
run: |
|
||||
ex=$(git ls-remote --heads origin action/constellation/update-cli-reference)
|
||||
echo "EXISTS=$(if [ -z "$ex" ]; then echo 0; else echo 1; fi)" >> $GITHUB_ENV
|
||||
ex="$(git ls-remote --heads origin action/constellation/update-cli-reference)"
|
||||
echo "EXISTS=$(if [ -z "$ex" ]; then echo 0; else echo 1; fi)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Publish new reference (create new branch)
|
||||
if: ${{ env.EXISTS == 0 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue