Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
✨ Update gobuild.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
AirportR committed Jul 28, 2023
1 parent c5cec09 commit 5474f4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Go

on:
push:
branches: [ "main" ]
branches: [ "origin", "meta" ]
jobs:
build:
name: Build
Expand All @@ -23,13 +23,13 @@ jobs:
- name: go-mod
run: go mod tidy
- name: Build
run: go build -ldflags="-s -w" -o ./output/fulltclash-${{ matrix.os }}-amd64 fulltclash.go
run: go build -ldflags="-s -w" -o ./output/fulltclash-meta-${{ matrix.os }}-amd64 fulltclash.go
- name: edit name
if: runner.os == 'Windows'
run: mv ./output/fulltclash-windows-latest-amd64 ./output/fulltclash-windows-amd64.exe
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-${{ matrix.os }}-amd64
name: fulltclash-meta-${{ matrix.os }}-amd64
path: ./output/*
if-no-files-found: error

0 comments on commit 5474f4b

Please sign in to comment.