From df9bc96e4b34c908feff57138d5e9b659eb633c6 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 27 Mar 2025 11:45:11 +0100 Subject: [PATCH] fix(ci): do not build mage again in release --- .github/workflows/release.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 943edd7e9..5209ab203 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,34 +4,6 @@ on: workflow_call: jobs: - mage: - runs-on: ubuntu-latest - name: prepare-mage - steps: - - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: stable - - name: Cache Mage - id: cache-mage - uses: actions/cache@v4 - with: - key: ${{ runner.os }}-build-mage-${{ hashFiles('magefile.go') }} - path: | - ./mage-static - - name: Compile Mage - if: ${{ steps.cache-mage.outputs.cache-hit != 'true' }} - uses: magefile/mage-action@v3 - with: - version: latest - args: -compile ./mage-static - - name: Store Mage Binary - uses: actions/upload-artifact@v4 - with: - name: mage_bin - path: ./mage-static - docker: runs-on: ubuntu-latest steps: @@ -108,7 +80,6 @@ jobs: binaries: runs-on: ubuntu-latest needs: - - mage - frontend steps: - uses: actions/checkout@v4 @@ -226,8 +197,6 @@ jobs: config-yaml: runs-on: ubuntu-latest - needs: - - mage steps: - uses: actions/checkout@v4 - name: Git describe @@ -308,8 +277,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - needs: - - mage steps: - uses: actions/checkout@v4 - name: Download Mage Binary