fix action upload
This commit is contained in:
parent
732b5f3844
commit
4e37e8d084
|
|
@ -31,8 +31,7 @@ jobs:
|
||||||
- name: Download Github Release API
|
- name: Download Github Release API
|
||||||
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
|
||||||
wget https://github.com/xopenwrt/X-OpenWrt-New/releases/download/AutoUpdate/AutoBuild-lede-x86_64-R25.10.10-20251125-BIOS-X-27da9.img.gz
|
|
||||||
|
|
||||||
- name: Upload API to Github Release
|
- name: Upload API to Github Release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -41,12 +40,3 @@ jobs:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
tag: AutoUpdate
|
tag: AutoUpdate
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Upload API to Github SharePoint
|
|
||||||
uses: xopenwrt/s3-upload-github-action@master
|
|
||||||
env:
|
|
||||||
FILE: ./AutoBuild-lede-x86_64-R25.10.10-20251125-BIOS-X-27da9.img.gz
|
|
||||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
|
||||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
|
||||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
|
||||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
|
||||||
Loading…
Reference in New Issue