mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +02:00
build: use ghaction-upx
thanks @crazy-max! Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
038567475b
commit
803ef6566e
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -45,8 +45,9 @@ jobs:
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
|
||||
mkdir -p $HOME/.cache/snapcraft/download
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
- name: setup-upx
|
||||
run: sudo apt-get -yq --no-install-suggests --no-install-recommends install upx-ucl
|
||||
- uses: crazy-max/ghaction-upx@v2
|
||||
with:
|
||||
install-only: true
|
||||
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4
|
||||
with:
|
||||
go-version: stable
|
||||
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -98,6 +98,9 @@ jobs:
|
||||
key: ${{ github.ref }}
|
||||
- uses: sigstore/cosign-installer@v3.0.3
|
||||
- uses: anchore/sbom-action/download-syft@v0.14.1
|
||||
- uses: crazy-max/ghaction-upx@v2
|
||||
with:
|
||||
install-only: true
|
||||
- name: dockerhub-login
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user