Skip to content

Commit

Permalink
Fix: permission denied on files under run/scripts
Browse files Browse the repository at this point in the history
Since github `upload-artifacts` recompresses the provided `.zip` file, i decided to pass the already extracted files to the path of  `upload-artifacts` so that i dont need to double extract when running the script.  

However, github actions somehow messes up the file permissions for the start script cause permission issues when running the installation script locally
  • Loading branch information
jnsereko authored Apr 17, 2024
1 parent b7627f4 commit a2e1e16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/upload-maven-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACTID }}-${{ env.VERSION }}
path: ${{ inputs.artifact-path }}/target/${{ env.ARTIFACTID }}-${{ env.VERSION }}
path: ${{ inputs.artifact-path }}/target/${{ env.ARTIFACTID }}-${{ env.VERSION }}.zip
compression-level: 0
overwrite: true
if-no-files-found: error

0 comments on commit a2e1e16

Please sign in to comment.