Update release-build.yml

This commit is contained in:
Bard 2022-09-29 22:54:41 +08:00 committed by GitHub
parent ee858b79c0
commit 402ee88009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,15 +60,12 @@ jobs:
name: ${{ matrix.arch }}
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
- name: Move created packages to project dir
run: cp bin/packages/${{ matrix.arch }}/packages_ci/*.ipk . || true
- name: Upload packages
uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release'
with:
repo_token: ${{ secrets.workflow_token }}
file: "*.ipk"
file: "bin/packages/${{ matrix.arch }}/packages_ci/*.ipk"
tag: ${{ github.ref }}
overwrite: true
file_glob: true