Skip to content

Commit

Permalink
ci: Update GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwml committed Oct 13, 2022
1 parent 842fb64 commit a2f818e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/i18n-luci-18.06.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- x86_64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -38,14 +38,14 @@ jobs:
for i in `ls`; do mv -f $i `echo "openwrt-18.06_"$i`; done
- name: Store packages
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: github.event_name != 'release'
with:
name: ${{ matrix.arch}}-${{ github.sha}}-packages
path: "*.ipk"

- name: Upload packages
uses: svenstaro/upload-release-action@v2
uses: svenstaro/upload-release-action@master
if: github.event_name == 'release'
with:
repo_token: ${{ secrets.workflow_token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- x86_64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -59,13 +59,13 @@ jobs:
NO_REFRESH_CHECK: true

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.arch }}
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk

- name: Upload packages
uses: svenstaro/upload-release-action@v2
uses: svenstaro/upload-release-action@master
if: github.event_name == 'release'
with:
repo_token: ${{ secrets.workflow_token }}
Expand Down

0 comments on commit a2f818e

Please sign in to comment.