修复 Release 上传失败
This commit is contained in:
parent
87fbf40ddb
commit
108a836c04
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue