mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-21 00:29:03 +01:00
workflow updte
This commit is contained in:
30
.github/workflows/go.yml
vendored
30
.github/workflows/go.yml
vendored
@@ -5,30 +5,26 @@ name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
tags:
|
||||
- "*.*.*"
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.22.1'
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.22.1"
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: go-proxy
|
||||
path: bin/go-proxy
|
||||
- name: Build
|
||||
run: make build
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
path: bin/go-proxy
|
||||
#- name: Test
|
||||
# run: go test -v ./...
|
||||
|
||||
Reference in New Issue
Block a user