From 83a11aef6f7692cfbed34e14481b58e62aa0c077 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 6 Apr 2021 19:15:09 +0800 Subject: [PATCH] build: remove necessary release --- .github/workflows/lo-test.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/lo-test.yml b/.github/workflows/lo-test.yml index f5b3911..84ce9ec 100644 --- a/.github/workflows/lo-test.yml +++ b/.github/workflows/lo-test.yml @@ -104,17 +104,14 @@ jobs: run: | cd mkdir -p ./artifact/buildinfo - mkdir -p ./release cd lede cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/ cp -rf .config ../artifact/buildinfo/ - mv $(ls -1 ./bin/targets/*/*/*img.gz) ../release/$DEVICE-slim.img.gz echo "strDate=$(TZ=UTC-8 date +%Y-%m-%d)" >> $GITHUB_ENV echo "strDevice=$(echo $DEVICE | awk '{print toupper($0)}')" >> $GITHUB_ENV rm -rf bin tmp cd .. - mv artifact release $GITHUB_WORKSPACE - cd $GITHUB_WORKSPACE/release/ && md5sum $DEVICE-slim.img.gz > $DEVICE-slim.img.md5 + mv artifact $GITHUB_WORKSPACE - name: Deliver buildinfo uses: actions/upload-artifact@v2 @@ -122,16 +119,6 @@ jobs: name: OpenWrt_buildinfo path: ./artifact/buildinfo/ - - name: Upload release asset - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ./release/* - tag: ${{env.strDate}} - file_glob: true - overwrite: true - release_name: ${{env.strDate}} 自动发布 - - name: Save cache state if: env.TG run: |