ci: fix warning

This commit is contained in:
sbwml 2022-10-22 16:26:21 +08:00
parent 119f863083
commit 4bc1e86841
2 changed files with 12 additions and 16 deletions

View File

@ -16,7 +16,7 @@ jobs:
- x86_64
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v3
with:
fetch-depth: 0
@ -41,11 +41,9 @@ jobs:
path: "*.ipk"
- name: Upload packages
uses: svenstaro/upload-release-action@master
if: github.event_name == 'release'
uses: ncipollo/release-action@v1
with:
repo_token: ${{ secrets.workflow_token }}
file: "*.ipk"
tag: ${{ github.ref }}
overwrite: true
file_glob: true
token: ${{ secrets.workflow_token }}
allowUpdates: true
replacesArtifacts: true
artifacts: "*.ipk"

View File

@ -42,7 +42,7 @@ jobs:
- x86_64
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v3
with:
fetch-depth: 0
@ -61,11 +61,9 @@ jobs:
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
- name: Upload packages
uses: svenstaro/upload-release-action@master
if: github.event_name == 'release'
uses: ncipollo/release-action@v1
with:
repo_token: ${{ secrets.workflow_token }}
file: "bin/packages/${{ matrix.arch }}/packages_ci/*.ipk"
tag: ${{ github.ref }}
overwrite: true
file_glob: true
token: ${{ secrets.workflow_token }}
allowUpdates: true
replacesArtifacts: true
artifacts: "bin/packages/${{ matrix.arch }}/packages_ci/*.ipk"