Skip to content

v1.0.0: Clean rewrite — cross-platform, dark UI, stable WS tunnel #5

v1.0.0: Clean rewrite — cross-platform, dark UI, stable WS tunnel

v1.0.0: Clean rewrite — cross-platform, dark UI, stable WS tunnel #5

Workflow file for this run

name: Release
on:
push:
tags: ['v*']
permissions:
contents: write
jobs:
build:
strategy:
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
artifact: tglock.exe
- os: macos-latest
target: x86_64-apple-darwin
artifact: tglock-macos-x64
- os: macos-latest
target: aarch64-apple-darwin
artifact: tglock-macos-arm64
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact: tglock-linux-x64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Build
run: cargo build --release --target ${{ matrix.target }}
- name: Rename (Unix)
if: runner.os != 'Windows'
run: cp target/${{ matrix.target }}/release/tglock ${{ matrix.artifact }}
- name: Rename (Windows)
if: runner.os == 'Windows'
run: copy target\${{ matrix.target }}\release\tglock.exe ${{ matrix.artifact }}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.artifact }}
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Create Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
tglock.exe/tglock.exe
tglock-macos-x64/tglock-macos-x64
tglock-macos-arm64/tglock-macos-arm64
tglock-linux-x64/tglock-linux-x64
body: |
## TGLock ${{ github.ref_name }}
Обход блокировки Telegram через WebSocket-туннель. Один клик.
| Файл | Платформа |
|---|---|
| `tglock.exe` | Windows x64 |
| `tglock-macos-x64` | macOS Intel |
| `tglock-macos-arm64` | macOS Apple Silicon |
| `tglock-linux-x64` | Linux x64 |
**[by sonic VPN](https://t.me/bysonicvpn_bot)** — полный обход блокировок для всех приложений