This commit is contained in:
parent
4834f037bd
commit
0c08f8aee2
1 changed files with 3 additions and 5 deletions
|
@ -10,8 +10,6 @@ steps:
|
||||||
RUSTFLAGS: '-C target-feature=+crt-static'
|
RUSTFLAGS: '-C target-feature=+crt-static'
|
||||||
RUSTUP_HOME: 'C:\Users\drone\.rustup'
|
RUSTUP_HOME: 'C:\Users\drone\.rustup'
|
||||||
commands:
|
commands:
|
||||||
- whoami
|
|
||||||
- 'Get-ChildItem Env:'
|
|
||||||
- cd receiver
|
- cd receiver
|
||||||
- 'C:\Users\drone\.cargo\bin\cargo.exe build --release --target x86_64-pc-windows-msvc'
|
- 'C:\Users\drone\.cargo\bin\cargo.exe build --release --target x86_64-pc-windows-msvc'
|
||||||
|
|
||||||
|
@ -27,9 +25,9 @@ steps:
|
||||||
from_secret: gitea-token
|
from_secret: gitea-token
|
||||||
commands:
|
commands:
|
||||||
- 'C:\Program` Files\Git\mingw64\bin\curl.exe --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe'
|
- 'C:\Program` Files\Git\mingw64\bin\curl.exe --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe'
|
||||||
#trigger:
|
trigger:
|
||||||
# ref:
|
ref:
|
||||||
# - refs/tags/v*
|
- refs/tags/v*
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue