Rename the - variable name with _
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 1s
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 1s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
parent
114a9339b6
commit
69189daf63
@ -9,9 +9,9 @@ jobs:
|
|||||||
- name: Build action step
|
- name: Build action step
|
||||||
uses: https://src.opensuse.org/alexlau/bc@v1
|
uses: https://src.opensuse.org/alexlau/bc@v1
|
||||||
with:
|
with:
|
||||||
osc-user: 'alexlau'
|
osc_user: 'alexlau'
|
||||||
osc-path: 'home:alexlau:branches:Base:System'
|
osc_path: 'home:alexlau:branches:Base:System'
|
||||||
osc-package: 'bc'
|
osc_package: 'bc'
|
||||||
env: # Or as an environment variable
|
env: # Or as an environment variable
|
||||||
osc-pass: ${{ secrets.OSCPASS }}
|
osc_pass: ${{ secrets.OSCPASS }}
|
||||||
id: osc-demo
|
id: osc-demo
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
name: 'OSC Test'
|
name: 'OSC Test'
|
||||||
description: 'Checkout the rpm and install run from osc'
|
description: 'Checkout the rpm and install run from osc'
|
||||||
inputs:
|
inputs:
|
||||||
osc-user: # id of input
|
osc_user: # id of input
|
||||||
description: 'Who is the osc user'
|
description: 'Who is the osc user'
|
||||||
required: true
|
required: true
|
||||||
default: 'alexlau'
|
default: 'alexlau'
|
||||||
@ -13,6 +13,6 @@ runs:
|
|||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.osc-user}}
|
- ${{ inputs.osc_user}}
|
||||||
- ${{ inputs.osc-path}}
|
- ${{ inputs.osc_path}}
|
||||||
- ${{ inputs.osc-package}}
|
- ${{ inputs.osc_package}}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
echo $osc-user $osc-path $osc-package
|
|
||||||
echo $1 $2 $3
|
echo $1 $2 $3
|
||||||
echo $INPUT_OSC-USER $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
|
echo "${osc_user} ${osc_path} ${osc_package}"
|
||||||
# osc checkout $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
|
echo "${INPUT_OSC_USER} ${INPUT_OSC_PATH} ${INPUT_OSC_PACKAGE}"
|
||||||
|
# osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE
|
||||||
# osc buildlog openSUSE_Factory x86_64
|
# osc buildlog openSUSE_Factory x86_64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user