File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 99
99
id : setOutputs
100
100
shell : pwsh
101
101
run : |
102
- echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ github.sha }}-Linux-Archive" >> $env:GITHUB_OUTPUT
102
+ echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ inputs.Target || github.sha }}-Linux-Archive" >> $env:GITHUB_OUTPUT
103
103
104
104
- name : Upload
105
105
id : upload
@@ -120,6 +120,7 @@ jobs:
120
120
steps :
121
121
- uses : actions/checkout@v4
122
122
with :
123
+ ref : ${{ inputs.Target || github.sha }}
123
124
submodules : " recursive"
124
125
125
126
- name : Transform inputs
@@ -156,7 +157,7 @@ jobs:
156
157
id : setOutputs
157
158
shell : pwsh
158
159
run : |
159
- echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ github.sha }}-Linux-AppImage" >> $env:GITHUB_OUTPUT
160
+ echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ inputs.Target || github.sha }}-Linux-AppImage" >> $env:GITHUB_OUTPUT
160
161
161
162
- name : Upload
162
163
id : upload
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ jobs:
129
129
id : setOutputs
130
130
shell : pwsh
131
131
run : |
132
- echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ github.sha }}-Windows-Archive" >> $env:GITHUB_OUTPUT
132
+ echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ inputs.Target || github.sha }}-Windows-Archive" >> $env:GITHUB_OUTPUT
133
133
134
134
- name : Upload
135
135
id : upload
@@ -150,6 +150,7 @@ jobs:
150
150
steps :
151
151
- uses : actions/checkout@v4
152
152
with :
153
+ ref : ${{ inputs.Target || github.sha }}
153
154
submodules : " recursive"
154
155
155
156
- name : Transform inputs
@@ -209,7 +210,7 @@ jobs:
209
210
id : setOutputs
210
211
shell : pwsh
211
212
run : |
212
- echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ github.sha }}-Windows-Setup" >> $env:GITHUB_OUTPUT
213
+ echo "artifactName=${{ steps.transformInputs.outputs.projectName }}-${{ inputs.Target || github.sha }}-Windows-Setup" >> $env:GITHUB_OUTPUT
213
214
214
215
- name : Upload
215
216
id : upload
You can’t perform that action at this time.
0 commit comments