1
0
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:
Carlos Alexandro Becker 2023-05-03 17:06:40 +00:00
parent 038567475b
commit 803ef6566e
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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