From 1274e7484e29d76124b342afbd3c5eebad19e7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=8D=A1=E6=9E=97=E5=88=98?= Date: Sat, 17 Dec 2022 22:08:36 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=BAubuntu20.04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openwrt-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt-ci.yml b/openwrt-ci.yml index 428e24027..2936438da 100644 --- a/openwrt-ci.yml +++ b/openwrt-ci.yml @@ -24,7 +24,7 @@ jobs: name: Build OpenWrt firmware - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: github.event.repository.owner.id == github.event.sender.id From ecab15acadef6dc18ca692b38af226bd9a8d12c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=8D=A1=E6=9E=97=E5=88=98?= Date: Tue, 14 Feb 2023 15:33:44 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E4=BE=9D=E8=B5=96lib32gcc1=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit E: Package 'lib32gcc1' has no installation candidate --- openwrt-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt-ci.yml b/openwrt-ci.yml index 2936438da..5da8c5fa7 100644 --- a/openwrt-ci.yml +++ b/openwrt-ci.yml @@ -24,7 +24,7 @@ jobs: name: Build OpenWrt firmware - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.event.repository.owner.id == github.event.sender.id @@ -43,7 +43,7 @@ jobs: sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* adoptopenjdk* mysql* php* mongodb* dotnet* moby* snapd* || true sudo -E apt-get update - sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf swig libtinfo5 + sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf swig libtinfo5 sudo -E apt-get -y autoremove --purge sudo -E apt-get clean From 7bd23430214c5bdc0cd7d35d7ad663555b7c398c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=8D=A1=E6=9E=97=E5=88=98?= Date: Mon, 24 Apr 2023 14:43:01 +0800 Subject: [PATCH 3/3] Update openwrt-ci.yml --- openwrt-ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/openwrt-ci.yml b/openwrt-ci.yml index 5da8c5fa7..d66312b0e 100644 --- a/openwrt-ci.yml +++ b/openwrt-ci.yml @@ -129,12 +129,15 @@ jobs: with: name: OpenWrt_firmware path: ./bin/targets/ + + - name: Release firmware + uses: softprops/action-gh-release@v0.1.15 + with: + files: LICENSE + permissions: + contents: write + env: + GITHUB_REPOSITORY: my_gh_org/my_gh_repo # 填入您的仓库名 + - - name: Upload release asset - if: github.event == 'release' - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.YOURTOKEN }} - file: ./artifact/firmware/* - tag: ${{ github.ref }} - file_glob: true +