ci: add target version before building target cli

This commit is contained in:
Moritz Sanft 2024-01-16 14:15:08 +01:00
parent aebafa2e74
commit 0880b43817
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -147,6 +147,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Simulate patch upgrade
if: inputs.simulatedTargetVersion != ''
run: |
echo ${{ inputs.simulatedTargetVersion }} > version.txt
- name: Build CLI
uses: ./.github/actions/build_cli
with:
@ -285,11 +290,6 @@ jobs:
ref: main
stream: nightly
- name: Simulate patch upgrade
if: inputs.simulatedTargetVersion != ''
run: |
echo ${{ inputs.simulatedTargetVersion }} > version.txt
- name: Login to GCP (IAM service account)
if: inputs.cloudProvider == 'gcp'
uses: ./.github/actions/login_gcp