Skip to content

Commit

Permalink
‘update’
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Feb 3, 2021
1 parent da82402 commit c7fe41c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-openwrt-phicomm_n1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
run: |
git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-openwrt.git
cd amlogic-s9xxx-openwrt/
mkdir -p openwrt-armvirt
[ -d openwrt-armvirt ] || mkdir -p openwrt-armvirt
cp -f ../openwrt/bin/targets/*/*/*.tar.gz openwrt-armvirt/ && sync
sudo rm -rf ../openwrt && sync
sudo rm -rf /workdir && sync
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-openwrt-s9xxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
run: |
git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-openwrt.git
cd amlogic-s9xxx-openwrt/
mkdir -p openwrt-armvirt
[ -d openwrt-armvirt ] || mkdir -p openwrt-armvirt
cp -f ../openwrt/bin/targets/*/*/*.tar.gz openwrt-armvirt/ && sync
sudo rm -rf ../openwrt && sync
sudo rm -rf /workdir && sync
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/use-releases-file-to-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: |
git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-openwrt.git
cd amlogic-s9xxx-openwrt/
mkdir -p openwrt-armvirt
[ -d openwrt-armvirt ] || mkdir -p openwrt-armvirt
curl -s "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases" | grep -o "openwrt_s9xxx_.*/openwrt-armvirt-.*\.tar.gz" | head -n 1 > DOWNLOAD_URL
[ -s DOWNLOAD_URL ] && wget -q -P openwrt-armvirt https://github.com/${GITHUB_REPOSITORY}/releases/download/$(cat DOWNLOAD_URL)
sudo chmod +x make
Expand Down

0 comments on commit c7fe41c

Please sign in to comment.