From 9c908b33dddfaf0ff90fdf88019adb42dbec0f31 Mon Sep 17 00:00:00 2001 From: Tlntin Date: Sat, 24 Dec 2022 10:30:39 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95git=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pake_build.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pake_build.yaml b/.github/workflows/pake_build.yaml index 7dbd21f..afb1432 100644 --- a/.github/workflows/pake_build.yaml +++ b/.github/workflows/pake_build.yaml @@ -78,9 +78,15 @@ jobs: # files: | # output/*/*.* - - uses: ncipollo/release-action@v1 - if: startsWith(github.ref, 'refs/tags/v') - with: - allowUpdates: true - artifacts: "output/*/*.*" - token: ${{ secrets.GITHUB_TOKEN }} + # - uses: ncipollo/release-action@v1 + # if: startsWith(github.ref, 'refs/tags/v') + # with: + # allowUpdates: true + # artifacts: "output/*/*.*" + # token: ${{ secrets.GITHUB_TOKEN }} + - name: Upload files + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + bash upload.sh output/*/*.* From cb6148e2e13faa73cd9f7ffb6072c9c680421c34 Mon Sep 17 00:00:00 2001 From: Tlntin Date: Sat, 24 Dec 2022 10:32:52 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95git=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pake_build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pake_build.yaml b/.github/workflows/pake_build.yaml index afb1432..a7e1278 100644 --- a/.github/workflows/pake_build.yaml +++ b/.github/workflows/pake_build.yaml @@ -85,8 +85,8 @@ jobs: # artifacts: "output/*/*.*" # token: ${{ secrets.GITHUB_TOKEN }} - name: Upload files - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - bash upload.sh output/*/*.* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + bash upload.sh output/*/*.* From 4c1ad0ad6081dd62730bcfc9593675a6158579be Mon Sep 17 00:00:00 2001 From: Tlntin Date: Sat, 24 Dec 2022 10:55:11 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95git=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pake_build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pake_build.yaml b/.github/workflows/pake_build.yaml index a7e1278..aac097d 100644 --- a/.github/workflows/pake_build.yaml +++ b/.github/workflows/pake_build.yaml @@ -88,5 +88,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh bash upload.sh output/*/*.*