Skip to content

Commit

Permalink
Fix: modify build status (#180)
Browse files Browse the repository at this point in the history
* add build status

* remove useless files

* add release action
  • Loading branch information
zouyx committed Jul 9, 2021
1 parent fe02589 commit d6fea77
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 101 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,17 @@
name: release

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .mergify.yml
Expand Up @@ -5,9 +5,9 @@ pull_request_rules:
actions:
merge:
method: merge
- name: automatic merge on Travis CI success if some files are changed
- name: automatic merge on Github Action success if some files are changed
conditions:
- check-success=Travis CI - Pull Request
- check-success=build
- files~=^./
actions:
merge:
Expand Down
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@ Agollo - Go Client for Apollo
================

[![golang](https://img.shields.io/badge/Language-Go-green.svg?style=flat)](https://golang.org)
[![Build Status](https://travis-ci.com/apolloconfig/agollo.svg?branch=master)](https://travis-ci.com/apolloconfig/agollo)
[![Build Status](https://github.com/apolloconfig/agollo/actions/workflows/go.yml/badge.svg)](https://github.com/apolloconfig/agollo/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/apolloconfig/agollo)](https://goreportcard.com/report/github.com/apolloconfig/agollo)
[![codebeat badge](https://codebeat.co/badges/bc2009d6-84f1-4f11-803e-fc571a12a1c0)](https://codebeat.co/projects/github-com-apolloconfig-agollo-master)
[![Coverage Status](https://coveralls.io/repos/github/apolloconfig/agollo/badge.svg?branch=master)](https://coveralls.io/github/apolloconfig/agollo?branch=master)
Expand Down
63 changes: 0 additions & 63 deletions coverage.sh

This file was deleted.

0 comments on commit d6fea77

Please sign in to comment.