Skip to content

Commit

Permalink
test: Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin authored Nov 13, 2024
1 parent fd07bc7 commit 9282427
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ jobs:
toolchain_commit=$(git log --pretty=tformat:"%h" -n1 tools toolchain)
target=$(sed -n '/^CONFIG_TARGET_BOARD/p' ${{ env.OPENWRT_ROOT_PATH }}/.config | sed -e 's/CONFIG_TARGET_BOARD\=\"//' -e 's/\"//')
subtarget=$(sed -n '/^CONFIG_TARGET_SUBTARGET/p' ${{ env.OPENWRT_ROOT_PATH }}/.config | sed -e 's/CONFIG_TARGET_SUBTARGET\=\"//' -e 's/\"//')
echo "target=$target" >> >> "$GITHUB_OUTPUT"
echo "subtarget=$subtarget" >> >> "$GITHUB_OUTPUT"
echo "toolchain_commit=$toolchain_commit" >> >> "$GITHUB_OUTPUT"
echo "target=$target" >> "$GITHUB_OUTPUT"
echo "subtarget=$subtarget" >> "$GITHUB_OUTPUT"
echo "toolchain_commit=$toolchain_commit" >> "$GITHUB_OUTPUT"
- name: 缓存toolchain
uses: actions/cache@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ jobs:
toolchain_commit=$(git log --pretty=tformat:"%h" -n1 tools toolchain)
target=$(sed -n '/^CONFIG_TARGET_BOARD/p' ${{ env.OPENWRT_ROOT_PATH }}/.config | sed -e 's/CONFIG_TARGET_BOARD\=\"//' -e 's/\"//')
subtarget=$(sed -n '/^CONFIG_TARGET_SUBTARGET/p' ${{ env.OPENWRT_ROOT_PATH }}/.config | sed -e 's/CONFIG_TARGET_SUBTARGET\=\"//' -e 's/\"//')
echo "target=$target" >> >> "$GITHUB_OUTPUT"
echo "subtarget=$subtarget" >> >> "$GITHUB_OUTPUT"
echo "toolchain_commit=$toolchain_commit" >> >> "$GITHUB_OUTPUT"
echo "target=$target" >> "$GITHUB_OUTPUT"
echo "subtarget=$subtarget" >> "$GITHUB_OUTPUT"
echo "toolchain_commit=$toolchain_commit" >> "$GITHUB_OUTPUT"
- name: 缓存toolchain
uses: actions/cache@v4
Expand Down

0 comments on commit 9282427

Please sign in to comment.