diff --git a/.github/workflows/build-istoreos2.yml b/.github/workflows/build-istoreos2.yml index d4b0242..fc2917b 100644 --- a/.github/workflows/build-istoreos2.yml +++ b/.github/workflows/build-istoreos2.yml @@ -144,7 +144,7 @@ jobs: echo -e "$(nproc) thread compile" make -j$(nproc) || make -j1 || make -j1 V=s echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV - echo "::set-output name=status::success" + echo "status=success" >> ${GITHUB_OUTPUT} - name: 检查磁盘空间 if: (!cancelled()) @@ -164,7 +164,7 @@ jobs: cd openwrt/bin/targets/*/* rm -rf packages echo "FIRMWARE=$PWD" >> $GITHUB_ENV - echo "::set-output name=status::success" + echo "status=success" >> ${GITHUB_OUTPUT} - name: 上传固件目录 uses: actions/upload-artifact@main @@ -177,7 +177,7 @@ jobs: id: tag if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() run: | - echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H.%M")" + echo "release_tag=$(date +"%Y.%m.%d-%H.%M")" >> ${GITHUB_OUTPUT} touch release.txt echo " 💻 架构: ${{ matrix.ARCHITECTURE }} @@ -195,7 +195,7 @@ jobs: 🔒 密码: password 📒 说明: 单网口设备默认网口为LAN,旁路由模式,需要插入主路由后进后台查找对应IP地址访问,反之双网口设备默认网口为WAN+LAN,主路由模式。 " >> release.txt - echo "::set-output name=status::success" + echo "status=success" >> ${GITHUB_OUTPUT} - name: 自动发布固件到 Releases uses: softprops/action-gh-release@v2