name: Build on: push: branches: [main] pull_request: env: http_proxy: http://172.21.5.18:1080 https_proxy: http://172.21.5.18:1080 HTTP_PROXY: http://172.21.5.18:1080 HTTPS_PROXY: http://172.21.5.18:1080 no_proxy: 192.168.88.60,git.mcbcorp.ru,localhost,127.0.0.1 NO_PROXY: 192.168.88.60,git.mcbcorp.ru,localhost,127.0.0.1 GRADLE_OPTS: >- -Dhttp.proxyHost=172.21.5.18 -Dhttp.proxyPort=1080 -Dhttps.proxyHost=172.21.5.18 -Dhttps.proxyPort=1080 -Dhttp.nonProxyHosts=192.168.88.60|git.mcbcorp.ru|localhost|127.0.0.1 jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: temurin java-version: '21' cache: gradle - run: chmod +x ./gradlew - run: ./gradlew build --no-daemon - uses: actions/upload-artifact@v3 with: name: skinsg-jar path: build/libs/*.jar