Исправление CI сборок #2
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -2,6 +2,8 @@ name: Build and Package OPKG
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -61,3 +63,13 @@ jobs:
|
|||||||
path: .build/magitrickle_${{ matrix.arch }}.ipk
|
path: .build/magitrickle_${{ matrix.arch }}.ipk
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 0
|
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}}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user