name: Release on: push: tags: ['v*'] 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: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: temurin java-version: '17' cache: gradle - run: chmod +x ./gradlew - run: ./gradlew build --no-daemon - uses: akkuman/gitea-release-action@v1 with: files: build/libs/*.jar token: ${{ secrets.GITHUB_TOKEN }}