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