Skip to content

Commit

Permalink
Update toolchain.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vipshmily authored Nov 18, 2022
1 parent b96ee8f commit 49b5436
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ jobs:
./build_toolchain
cd $toolchain_dir
tar cJf ../mipsel-linux-uclibc.tar.xz *
echo "TAG_ANME=$(TZ='Asia/Shanghai' date +%Y.%m.%d-%H%M)" >> $GITHUB_ENV
- name: Upload toolchain to artifact
uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v3
with:
name: toolchain
path: ${{ env.build_dir }}/mipsel-linux-uclibc.tar.xz
- name: Upload toolchain to artifact
uses: svenstaro/[email protected]
- uses: svenstaro/[email protected]
with:
name: toolchain
tag: ${{ env.TAG_ANME }}
file: ${{ env.build_dir }}/mipsel-linux-uclibc.tar.xz
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.build_dir }}/mipsel-linux-uclibc.tar.xz
tag: toolchain
overwrite: true

0 comments on commit 49b5436

Please sign in to comment.