From 6639ee0de68e5ee7c5953938244376e7eb2b906f Mon Sep 17 00:00:00 2001 From: cpanato Date: Thu, 28 Mar 2024 10:33:42 +0100 Subject: [PATCH] fix missing commands Signed-off-by: cpanato --- .github/workflows/release.yml | 9 ++------- .github/workflows/snapshot.yml | 3 +++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebf9c28..07fd45c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,13 +42,8 @@ jobs: id: get_tag run: echo "TAG=${GITHUB_REF#refs/*/}" >> "$GITHUB_OUTPUT" - - name: Run Mage - uses: magefile/mage-action@6a5dcb5fe61f43d7c08a98bc3cf9bc63c308c08e # v3.0.0 - with: - version: latest - args: buildBinaries - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Run goreleaser + run: make goreleaser attestation: runs-on: ubuntu-latest diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index bb61c82..008465e 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -27,5 +27,8 @@ jobs: with: install-only: true + - name: Run goreleaser snapshot + run: make snapshot + - name: check binary run: ./dist/mdtoc-amd64-linux -version