mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 03:26:27 +02:00
fix install lang in ci test step
This commit is contained in:
parent
0f8f8a4a27
commit
cba88f86e0
1 changed files with 1 additions and 1 deletions
2
.github/workflows/package-pr.yaml
vendored
2
.github/workflows/package-pr.yaml
vendored
|
@ -94,7 +94,7 @@ jobs:
|
||||||
PKG_VERSION=$(awk -F- '{ print $2 }' <<< $package)
|
PKG_VERSION=$(awk -F- '{ print $2 }' <<< $package)
|
||||||
|
|
||||||
echo "Installing..."
|
echo "Installing..."
|
||||||
docker run --network container:api appropriate/curl -sXPOST http://localhost:2000/api/v2/packages/$PKG_PATH
|
docker run --network container:api appropriate/curl -sXPOST http://localhost:2000/api/v2/packages -H "Content-Type: application/json" -d "{\"language\":\"$PKG_NAME\",\"version\":\"$PKG_VERSION\"}"
|
||||||
|
|
||||||
TEST_SCRIPTS=packages/$PKG_PATH/test.*
|
TEST_SCRIPTS=packages/$PKG_PATH/test.*
|
||||||
echo "Tests: $TEST_SCRIPTS"
|
echo "Tests: $TEST_SCRIPTS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue