From 31826f084ada997a8650beb09edda185da36ba95 Mon Sep 17 00:00:00 2001 From: Vladimir Avtsenov Date: Sat, 15 Feb 2025 01:18:45 +0300 Subject: [PATCH] upload only for releases --- .github/workflows/build.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 754deae..2fd2f59 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,6 @@ name: Build and Package OPKG on: - push: - branches-ignore: - - 'refs/tags/*' release: types: [published] @@ -58,14 +55,6 @@ jobs: run: | ARCH=${{ matrix.arch }} GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} GOMIPS=${{ matrix.gomips }} GOARM=${{ matrix.goarm }} make - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: magitrickle_${{ matrix.arch }} - path: .build/magitrickle_*_${{ matrix.arch }}.ipk - if-no-files-found: error - compression-level: 0 - - name: Upload asset to release if: ${{ github.event_name == 'release' }} uses: https://gitea.com/actions/release-action@main