Move the env var to cli format
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 26s

Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
Alex Lau 2024-01-08 10:36:25 +08:00
parent 3c20ba4614
commit a61558c8bc
No known key found for this signature in database
GPG Key ID: 3F28752074CC2261

View File

@ -24,4 +24,4 @@ jobs:
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
run: |
OSC_CONFIG= OSC_USERNAME="$env(INPUT_OSC_USER)" OSC_CREDENTIALS_MGR_CLASS="$env(INPUT_OSC_CRED)" OSC_PASSWORD="$env(osc_pass)" osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE
OSC_CONFIG= OSC_USERNAME=$INPUT_OSC_USER OSC_CREDENTIALS_MGR_CLASS=$INPUT_OSC_CRED OSC_PASSWORD=$osc_pass osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE