File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,16 +236,16 @@ jobs:
236236 gon gon.config.hcl
237237
238238 - name : Re-package binary
239+ working-directory : ${{ env.DIST_DIR }}
239240 # This step performs the following:
240241 # 1. Repackage the signed binary replaced in place by Gon (ignoring the output zip file)
241242 run : |
242243 # GitHub's upload/download-artifact@v2 actions don't preserve file permissions,
243244 # so we need to add execution permission back until the action is made to do this.
244- chmod +x ${{ env.DIST_DIR }}/${{ env. PROJECT_NAME }}_macOS_64bit/${{ env.PROJECT_NAME }}
245+ chmod +x " ${{ env.PROJECT_NAME }}_macOS_64bit/${{ env.PROJECT_NAME }}"
245246 TAG="${GITHUB_REF/refs\/tags\//}"
246- tar -czvf "${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_${TAG}_macOS_64bit.tar.gz" \
247- -C ${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_macOS_64bit/ ${{ env.PROJECT_NAME }} \
248- LICENSE.txt
247+ PACKAGE_FILENAME="${{ env.PROJECT_NAME }}_${TAG}_macOS_64bit.tar.gz"
248+ tar -czvf "${PACKAGE_FILENAME}" "${{ env.PROJECT_NAME }}_macOS_64bit"
249249
250250 - name : Upload artifacts
251251 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments