From 381a4afb7392d6e13c67ae73b039f781e0c1a529 Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 28 Apr 2021 23:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20fix=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/agent.yml | 4 +++- .github/workflows/dashboard.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 11cca92..4b07410 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -10,9 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - run: | + - name: Download UPX + run: | wget https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz tar --strip-components=1 -xf upx-3.95-amd64_linux.tar.xz && sudo mv upx /usr/bin/ + git clean -f -d upx --version - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index cc28105..6940ccd 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -10,6 +10,7 @@ on: - "script/**" - "*.md" - ".*" + - ".github/workflows/agent.yml" jobs: deploy: