Commit 4d8b8b3 1 parent a014b3c commit 4d8b8b3 Copy full SHA for 4d8b8b3
File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,16 @@ jobs:
52
52
runs-on : ubuntu-24.04
53
53
env :
54
54
MODE : ${{ inputs.mode }}
55
+ REPO : ${{ github.event.inputs.repositoryName && 'podman-desktop-redhat-account-ext' }}
56
+ ORGANIZATION : ${{ github.event.inputs.organization && 'redhat-developer' }}
57
+ BRANCH : ${{ github.event.inputs.branch && 'main' }}
55
58
steps :
56
59
- uses : actions/checkout@v4
57
60
if : github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_run'
58
61
with :
59
- repository : ${{ github.event.inputs.organization }}/${{ github.event.inputs.repositoryName }}
60
- ref : ${{ github.event.inputs.branch }}
61
- path : ${{ github.event.inputs.repositoryName }}
62
+ repository : ${{ env.ORGANIZATION }}/${{ env.REPO }}
63
+ ref : ${{ env.BRANCH }}
64
+ path : ${{ env.REPO }}
62
65
63
66
- uses : actions/checkout@v4
64
67
if : github.event_name == 'push'
71
74
run : |
72
75
repository=podman-desktop-redhat-account-ext
73
76
if [[ "$EVENT" == 'workflow_dispatch' || "$EVENT" == 'workflow_run' ]]; then
74
- repository=${{ github.event.inputs.repositoryName }}
77
+ repository=${{ env.REPO }}
75
78
fi
76
79
echo "REPOSITORY=$repository" >> $GITHUB_ENV
77
80
You can’t perform that action at this time.
0 commit comments