Skip to content

Commit

Permalink
Merge pull request #11 from avisi-cloud/distribute-as-tar-gz-instead-…
Browse files Browse the repository at this point in the history
…of-tar

Distribute as tar.gz instead of tar
  • Loading branch information
dirkgroot authored Jun 24, 2022
2 parents d637814 + 8e9ba52 commit 5cff091
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/distributions/structurizr-site-generatr-${{ github.ref_name }}.tar
asset_name: structurizr-site-generatr-${{ github.ref_name }}.tar
asset_path: ./build/distributions/structurizr-site-generatr-${{ github.ref_name }}.tar.gz
asset_name: structurizr-site-generatr-${{ github.ref_name }}.tar.gz
asset_content_type: application/x-tar
- uses: actions/[email protected]
env:
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,9 @@ tasks {
attributes["Implementation-Version"] = project.version
}
}

withType<Tar> {
archiveExtension.set("tar.gz")
compression = Compression.GZIP
}
}

0 comments on commit 5cff091

Please sign in to comment.