Skip to content

Commit d6fea77

Browse files
authored
Fix: modify build status (#180)
* add build status * remove useless files * add release action
1 parent fe02589 commit d6fea77

File tree

5 files changed

+20
-101
lines changed

5 files changed

+20
-101
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Release
15+
uses: softprops/action-gh-release@v1
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.mergify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ pull_request_rules:
55
actions:
66
merge:
77
method: merge
8-
- name: automatic merge on Travis CI success if some files are changed
8+
- name: automatic merge on Github Action success if some files are changed
99
conditions:
10-
- check-success=Travis CI - Pull Request
10+
- check-success=build
1111
- files~=^./
1212
actions:
1313
merge:

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Agollo - Go Client for Apollo
22
================
33

44
[![golang](https://img.shields.io/badge/Language-Go-green.svg?style=flat)](https://golang.org)
5-
[![Build Status](https://travis-ci.com/apolloconfig/agollo.svg?branch=master)](https://travis-ci.com/apolloconfig/agollo)
5+
[![Build Status](https://github.com/apolloconfig/agollo/actions/workflows/go.yml/badge.svg)](https://github.com/apolloconfig/agollo/actions/workflows/go.yml)
66
[![Go Report Card](https://goreportcard.com/badge/github.com/apolloconfig/agollo)](https://goreportcard.com/report/github.com/apolloconfig/agollo)
77
[![codebeat badge](https://codebeat.co/badges/bc2009d6-84f1-4f11-803e-fc571a12a1c0)](https://codebeat.co/projects/github-com-apolloconfig-agollo-master)
88
[![Coverage Status](https://coveralls.io/repos/github/apolloconfig/agollo/badge.svg?branch=master)](https://coveralls.io/github/apolloconfig/agollo?branch=master)

coverage.sh

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)