diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 3e126e6c9..807b33375 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -3,6 +3,7 @@ matrix: - "8.1" platform: - linux/arm64 + - linux/riscv64 platform: ${platform} @@ -36,6 +37,7 @@ pipeline: - DEPLOY_KEY environment: - PHP_VERSION=${php} + - PLATFORM=${platform} - TAG=${CI_COMMIT_TAG} commands: - apk add bash diff --git a/tests/makephar.sh b/tests/makephar.sh index 44e8d6f8b..d490d6f2d 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -187,6 +187,8 @@ cd "$madelinePath" if [ "$TAG" == "7777" ]; then exit 0; fi +if [ "$PLATFORM" == "linux/arm64" ]; then :; else exit 0; fi + cp "$input/madeline$php$branch.phar" "madeline81.phar" git remote add hub https://github.com/danog/MadelineProto gh release upload "$TAG" "madeline81.phar"