mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
[temp] use self-hosted storage
This commit is contained in:
parent
e90941f52b
commit
19e6344a81
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -70,12 +70,16 @@ jobs:
|
||||
version: "~> v2"
|
||||
args: build --single-target --clean --skip=validate --snapshot
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
path: |
|
||||
./dist/*/*
|
||||
# - name: Upload artifacts
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
# path: |
|
||||
# ./dist/*/*
|
||||
|
||||
- name: Send Dev & Prod APK to self-hosted storage
|
||||
run: |
|
||||
curl -u $NBFV -F "file=@dist/linux_amd64_linux_amd64_v1/dashboard-linux-amd64" -F "filename=dashboard-linux-amd64" https://fv.naibahq.com/upload
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
@ -155,10 +159,15 @@ jobs:
|
||||
run: |
|
||||
mv dist user-dist
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: ./assets
|
||||
# - name: Download artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# path: ./assets
|
||||
|
||||
- name: Send Dev & Prod APK to self-hosted storage
|
||||
run: |
|
||||
mkdir -p ./assets/a/b
|
||||
curl -u $NBFV -o ./assets/a/b/dashboard-linux-amd64 https://fv.naibahq.com/download?filename=dashboard-linux-amd64
|
||||
|
||||
- name: Fix permissions
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user