修复 Release 上传失败

This commit is contained in:
Hyy2001X 2021-08-10 14:10:03 +08:00
parent 87fbf40ddb
commit 108a836c04
9 changed files with 27 additions and 9 deletions

View File

@ -151,6 +151,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -159,12 +160,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true

View File

@ -154,6 +154,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: openwrt/bin/Firmware/*
file_glob: true
tag: AutoUpdate
overwrite: true
@ -162,12 +163,13 @@ jobs:
run: |
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
- name: Re-Upload API to Github Release
- name: Upload API to Github Release
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./API
file_glob: true
tag: AutoUpdate
overwrite: true