[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"
|
version: "~> v2"
|
||||||
args: build --single-target --clean --skip=validate --snapshot
|
args: build --single-target --clean --skip=validate --snapshot
|
||||||
|
|
||||||
- name: Upload artifacts
|
# - name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
# uses: actions/upload-artifact@v4
|
||||||
with:
|
# with:
|
||||||
name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
# name: dashboard-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
path: |
|
# path: |
|
||||||
./dist/*/*
|
# ./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:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -155,10 +159,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mv dist user-dist
|
mv dist user-dist
|
||||||
|
|
||||||
- name: Download artifacts
|
# - name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
# uses: actions/download-artifact@v4
|
||||||
with:
|
# with:
|
||||||
path: ./assets
|
# 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
|
- name: Fix permissions
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user