This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
🐛 Fixed ipv6 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: ["meta"] | |
paths-ignore: | |
- "build.key" | |
- "README.md" | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-13, ubuntu-20.04] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: go-mod | |
run: go mod tidy | |
- name: Build | |
run: go build -tags with_gvisor -ldflags="-s -w" -o ./output/fulltclash-meta-${{ matrix.os }}-amd64 fulltclash.go | |
- name: edit name | |
if: runner.os == 'Windows' | |
run: mv ./output/fulltclash-meta-windows-latest-amd64 ./output/fulltclash-meta-windows-amd64.exe | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: fulltclash-meta-${{ matrix.os }}-amd64 | |
path: ./output/* | |
if-no-files-found: error |