Files
HDSkinSupportGravit/.gitea/workflows/release.yml
T
Nghtly 2d1c9963e9
Build / build (push) Failing after 4m39s
CI: route downloads through internal proxy
2026-07-04 18:06:37 +03:00

35 lines
925 B
YAML

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: git.mcbcorp.ru,localhost,127.0.0.1
NO_PROXY: 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=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: '21'
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 }}