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
|
||||
uses: https://src.opensuse.org/alexlau/bc@v1
|
||||
with:
|
||||
osc-user: 'alexlau'
|
||||
osc-path: 'home:alexlau:branches:Base:System'
|
||||
osc-package: 'bc'
|
||||
osc_user: 'alexlau'
|
||||
osc_path: 'home:alexlau:branches:Base:System'
|
||||
osc_package: 'bc'
|
||||
env: # Or as an environment variable
|
||||
osc-pass: ${{ secrets.OSCPASS }}
|
||||
osc_pass: ${{ secrets.OSCPASS }}
|
||||
id: osc-demo
|
||||
|
@ -2,7 +2,7 @@
|
||||
name: 'OSC Test'
|
||||
description: 'Checkout the rpm and install run from osc'
|
||||
inputs:
|
||||
osc-user: # id of input
|
||||
osc_user: # id of input
|
||||
description: 'Who is the osc user'
|
||||
required: true
|
||||
default: 'alexlau'
|
||||
@ -13,6 +13,6 @@ runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.osc-user}}
|
||||
- ${{ inputs.osc-path}}
|
||||
- ${{ inputs.osc-package}}
|
||||
- ${{ inputs.osc_user}}
|
||||
- ${{ inputs.osc_path}}
|
||||
- ${{ inputs.osc_package}}
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
echo $osc-user $osc-path $osc-package
|
||||
echo $1 $2 $3
|
||||
echo $INPUT_OSC-USER $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
|
||||
# osc checkout $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
|
||||
echo "${osc_user} ${osc_path} ${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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user