From 1ab11fa89911329a59118cf4cf015699d8244f0f Mon Sep 17 00:00:00 2001 From: Vladimir Avtsenov Date: Sat, 15 Feb 2025 00:58:29 +0300 Subject: [PATCH] test release --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3661206..4dd8b91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ name: Build and Package OPKG on: push: + release: + types: [published] jobs: build: @@ -61,3 +63,13 @@ jobs: 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 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: |- + .build/*.ipk + api_key: '${{secrets.RELEASE_TOKEN}}'