修复 Release 上传失败
This commit is contained in:
parent
87fbf40ddb
commit
108a836c04
|
@ -151,6 +151,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -159,12 +160,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: openwrt/bin/Firmware/*
|
file: openwrt/bin/Firmware/*
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -162,12 +163,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
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()
|
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./API
|
file: ./API
|
||||||
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue