mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-26 12:41:45 +00:00
bugfix: simply specifying the build output
This commit is contained in:
parent
2c421f4596
commit
aaf45bca3d
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -16,28 +16,25 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
|
- run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "${{ env.GO_VERSION }}"
|
go-version: "${{ env.GO_VERSION }}"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
go get .
|
go get .
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: go build -o ProxySwitcher.exe -v ./...
|
run: go build -o build/ -v ./...
|
||||||
|
|
||||||
- name: List contents
|
|
||||||
run: ls -laRI .git
|
|
||||||
|
|
||||||
- name: Upload executable
|
- name: Upload executable
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ProxySwitcher Executable
|
name: ProxySwitcher Executable
|
||||||
path: '**/ProxySwitcher.exe'
|
path: build/ProxySwitcher.exe
|
||||||
|
Loading…
Reference in New Issue
Block a user