File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 name : Download from S3
3939 runs-on : javatron-signer
4040 needs : artifact-name
41+ outputs :
42+ artifact_name : ${{ steps.gzip_files.outputs.artifact_name }}
4143
4244 # Define environment variables for reuse
4345 env :
@@ -129,11 +131,13 @@ jobs:
129131 echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
130132
131133 - name : Gzip files
134+ id : gzip_files
132135 run : |
133136 rm -f ${{ env.ARTIFACT_NAME }}-bundle.zip
134137 zip -r ${{ env.ARTIFACT_NAME }}-bundle.zip ${{ env.DOWNLOAD_DIR }}
135138 LOCAL_MD5=$(md5sum ${{ env.ARTIFACT_NAME }}-bundle.zip | awk '{print $1}')
136139 echo "${{ env.ARTIFACT_NAME }}-bundle.zip: $LOCAL_MD5"
140+ echo "artifact_name=${{ env.ARTIFACT_NAME }}-bundle.zip" >> $GITHUB_OUTPUT
137141
138142 - name : Upload signed artifacts
139143 uses : actions/upload-artifact@v4
@@ -154,7 +158,7 @@ jobs:
154158
155159 env :
156160 S3_BUCKET : s3://${{ secrets.S3_BUCKET_TEST }}/${{ secrets.S3_PREFIX }}/${{ inputs.project_version }}
157- ARTIFACT_NAME : ${{ needs.artifact-name .outputs.artifact_name }}
161+ ARTIFACT_NAME : ${{ needs.download-from-s3-and-sign .outputs.artifact_name }}
158162
159163 steps :
160164 - name : Download signed artifacts
You can’t perform that action at this time.
0 commit comments