Update release-build.yml

This commit is contained in:
Bard 2022-09-29 22:53:35 +08:00 committed by GitHub
parent 7040529831
commit 1b5aa491b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,16 +64,12 @@ jobs:
name: ${{ matrix.arch }} name: ${{ matrix.arch }}
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk 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 - name: Upload packages
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release' if: github.event_name == 'release'
with: with:
repo_token: ${{ secrets.workflow_token }} repo_token: ${{ secrets.workflow_token }}
file: "*.ipk" file: "bin/packages/${{ matrix.arch }}/packages_ci/*.ipk"
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true
file_glob: true file_glob: true