Simplify CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2021-08-29 13:24:31 +02:00
parent f1e824ce32
commit e29937f527
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
3 changed files with 8 additions and 3 deletions

View File

@ -5,10 +5,8 @@ type: docker
steps:
- name: Fetch-Tester
image: deukhoofd/linux64builder
environment:
TESTERVERSION: 0.0.1
commands:
- 'curl -X GET "https://git.p-epsilon.com/api/v1/repos/Deukhoofd/PokemonScriptTester/releases/tags/$TESTERVERSION" -H "accept: application/json" | jq \'.assets[] | select(.name=="PokemonScriptTester") .browser_download_url \' | xargs curl > PokemonScriptTester'
- fetch_tester.sh
- name: Run-Tests
image: deukhoofd/linux64builder
commands:

View File

7
fetch_tester.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
TESTERVERSION=0.0.1
curl -X GET "https://git.p-epsilon.com/api/v1/repos/Deukhoofd/PokemonScriptTester/releases/tags/$TESTERVERSION" -H "accept: application/json" |
jq '.assets[] | select(.name=="PokemonScriptTester") .browser_download_url ' |
xargs curl > PokemonScriptTester