Skip to content

Commit

Permalink
Use tar instead of zip for the distribution (#60)
Browse files Browse the repository at this point in the history
This preserves file permissions, which are needed for the executables
to be executable.
  • Loading branch information
mattprecious authored Oct 27, 2023
1 parent bd8466c commit 99c88b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: st
path: ./build/install/st/*
path: ./build/distributions/st.tar
if-no-files-found: error
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spotless {
}
}

tasks.named("distTar").configure {
tasks.named("distZip").configure {
enabled = false
}
tasks.named("assemble").configure {
Expand Down

0 comments on commit 99c88b7

Please sign in to comment.