chore: modify github workflows
This commit is contained in:
parent
368a44ff73
commit
10a9eab542
6
.github/workflows/prerelease.yml
vendored
6
.github/workflows/prerelease.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: prerelease
|
||||
name: prerelease-test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
- name: Test
|
||||
if: ${{env.GITHUB_REF_NAME=='Beta'}}
|
||||
run: |
|
||||
go test ./..
|
||||
go test ./...
|
||||
- name: Build
|
||||
if: success()
|
||||
env:
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
if: ${{ success() }}
|
||||
with:
|
||||
tag: ${{env.GITHUB_REF_NAME}}
|
||||
tag_name: alpha
|
||||
tag_name: ${{env.GITHUB_REF_NAME}}
|
||||
files: bin/*
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
|
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@ -1,6 +1,8 @@
|
||||
name: alpha
|
||||
name: release-test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "Meta"
|
||||
tags:
|
||||
- "v*"
|
||||
jobs:
|
||||
@ -27,7 +29,7 @@ jobs:
|
||||
${{ runner.os }}-go-
|
||||
- name: Test
|
||||
run: |
|
||||
go test ./..
|
||||
go test ./...
|
||||
- name: Build
|
||||
if: success()
|
||||
env:
|
||||
|
Reference in New Issue
Block a user