Skip to content

Commit 3034f03

Browse files
committed
Add Cargo.lock and update appveyor build
1 parent 38e9ac4 commit 3034f03

File tree

7 files changed

+2656
-7
lines changed

7 files changed

+2656
-7
lines changed

.appveyor/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ deploy_script:
3535
if(${env:UPLOAD_TOKEN}) {
3636
cd /home/appveyor/projects/simplebot/target/release/
3737
Compress-Archive -Path ./simple-bot -DestinationPath SimpleBot.zip
38-
Invoke-RestMethod -Uri "https://splamy.de/api/nightly/simplebot/${env:APPVEYOR_REPO_BRANCH}_linux?token=${env:UPLOAD_TOKEN}&filename=SimpleBot.zip&commit=${env:APPVEYOR_REPO_COMMIT}&version=0.1.0" -Headers @{ "Content-Type" = "application/zip" } -Method Put -InFile ./SimpleBot.zip
38+
Invoke-RestMethod -Uri "https://splamy.de/api/nightly/simplebot/${env:APPVEYOR_REPO_BRANCH}_linux?filename=SimpleBot.zip&commit=${env:APPVEYOR_REPO_COMMIT}&version=0.1.0" -Headers @{ "Content-Type" = "application/zip"; "Authorization" = "${env:UPLOAD_TOKEN}" } -Method Put -InFile ./SimpleBot.zip
3939
}

.appveyor/windows.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ cache:
2323

2424
install:
2525
- ps: $Env:PATH += ';C:\msys64\usr\bin'
26-
- ps: $Env:OPENSSL_DIR = 'C:\OpenSSL-v111-Win64'
2726
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
2827
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL%
2928
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
@@ -41,7 +40,6 @@ deploy_script:
4140
- ps: >-
4241
if(${env:UPLOAD_TOKEN}) {
4342
cd([io.path]::combine("${env:APPVEYOR_BUILD_FOLDER}", "target", "release"))
44-
Copy-Item ${env:OPENSSL_DIR}\bin\*.dll .\
45-
Compress-Archive -Path simple-bot.exe,libcrypto-1_1-x64.dll,libssl-1_1-x64.dll -DestinationPath SimpleBot.zip
46-
Invoke-RestMethod -Uri "https://splamy.de/api/nightly/simplebot/${env:APPVEYOR_REPO_BRANCH}_windows?token=${env:UPLOAD_TOKEN}&filename=SimpleBot.zip&commit=${env:APPVEYOR_REPO_COMMIT}&version=0.1.0" -Headers @{ "Content-Type" = "application/zip" } -Method Put -InFile .\SimpleBot.zip
43+
Compress-Archive -Path simple-bot.exe -DestinationPath SimpleBot.zip
44+
Invoke-RestMethod -Uri "https://splamy.de/api/nightly/simplebot/${env:APPVEYOR_REPO_BRANCH}_windows?filename=SimpleBot.zip&commit=${env:APPVEYOR_REPO_COMMIT}&version=0.1.0" -Headers @{ "Content-Type" = "application/zip"; "Authorization" = "${env:UPLOAD_TOKEN}" } -Method Put -InFile ./SimpleBot.zip
4745
}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
target/
2-
Cargo.lock
32
private.key

0 commit comments

Comments
 (0)