Skip to content

feat: add side to update checker #49

feat: add side to update checker

feat: add side to update checker #49

Workflow file for this run

name: "Build Hysteria 2"
on:
push:
branches:
- "wip-hy2"
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Check out
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup Python # This is for the build script
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Run build script
run: |
export HY_APP_PLATFORMS=$(sed 's/\r$//' platforms.txt | awk '!/^#/ && !/^$/' | paste -sd ",")
python hyperbole.py build -r
- name: Archive
uses: actions/upload-artifact@v3
with:
name: hy2-wip-${{ github.sha }}
path: build