mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-30 00:09:57 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
970 B
YAML
41 lines
970 B
YAML
name: "Build master"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
tags-ignore:
|
|
- 'v*'
|
|
- 'core/v*'
|
|
- 'app/v*'
|
|
|
|
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.19
|
|
|
|
- name: Run build script
|
|
env:
|
|
HY_APP_PLATFORMS: 'darwin/amd64,darwin/amd64-avx,darwin/arm64,windows/amd64,windows/amd64-avx,windows/386,windows/arm64,linux/amd64,linux/amd64-avx,linux/386,linux/arm,linux/armv5,linux/arm64,linux/s390x,linux/mipsle,linux/mipsle-sf,freebsd/amd64,freebsd/amd64-avx,freebsd/386,freebsd/arm,freebsd/arm64'
|
|
run: ./build.sh
|
|
shell: bash
|
|
|
|
- name: Archive
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: hysteria-binaries-${{ github.sha }}
|
|
path: ./build
|