ci: update
This commit is contained in:
parent
eccad23466
commit
a155315dd8
6
.github/workflows/i18n-luci-18.06.yml
vendored
6
.github/workflows/i18n-luci-18.06.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
- x86_64
|
- x86_64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -34,14 +34,14 @@ jobs:
|
|||||||
for i in `ls *.ipk`; do mv -f $i `echo "openwrt-18.06_"$i`; done
|
for i in `ls *.ipk`; do mv -f $i `echo "openwrt-18.06_"$i`; done
|
||||||
|
|
||||||
- name: Store packages
|
- name: Store packages
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
if: github.event_name != 'release'
|
if: github.event_name != 'release'
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch}}-${{ github.sha}}-packages
|
name: ${{ matrix.arch}}-${{ github.sha}}-packages
|
||||||
path: "*.ipk"
|
path: "*.ipk"
|
||||||
|
|
||||||
- name: Upload packages
|
- name: Upload packages
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@master
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.workflow_token }}
|
repo_token: ${{ secrets.workflow_token }}
|
||||||
|
6
.github/workflows/release-build.yml
vendored
6
.github/workflows/release-build.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
- x86_64
|
- x86_64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -55,13 +55,13 @@ jobs:
|
|||||||
NO_REFRESH_CHECK: true
|
NO_REFRESH_CHECK: true
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}
|
name: ${{ matrix.arch }}
|
||||||
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
|
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
|
||||||
|
|
||||||
- name: Upload packages
|
- name: Upload packages
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@master
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.workflow_token }}
|
repo_token: ${{ secrets.workflow_token }}
|
||||||
|
Loading…
Reference in New Issue
Block a user