Skip to content

Commit 7d44019

Browse files
committed
update
1 parent 39fdfe5 commit 7d44019

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/backen.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: backen
1+
name: backend
22

33
on: [push, pull_request]
44

55
jobs:
6-
test:
6+
build:
77
runs-on: ${{ matrix.os }}
88
timeout-minutes: 10
99
strategy:
@@ -51,14 +51,18 @@ jobs:
5151
# go get github.com/mattn/goveralls
5252
# /home/runner/go/bin/goveralls -coverprofile=coverage.out -service=github-action -repotoken ${{ secrets.COVERALLS_TOKEN }}
5353

54-
- name: Release
55-
uses: softprops/action-gh-release@v1
56-
if: job.status == 'success' && startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/wsm'
54+
release:
55+
name: Release to Github
56+
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/wsm'
57+
needs: build
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: softprops/action-gh-release@v1
5761
env:
5862
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
5963
with:
6064
files: |
6165
bin/wsm_darwin_amd64.tar.gz
6266
bin/wsm_linux_amd64.tar.gz
6367
bin/wsm_windows_amd64.tar.gz
64-
draft: true
68+
draft: false

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![License](https://img.shields.io/github/license/axetroy/wsm.svg)
66
![Repo Size](https://img.shields.io/github/repo-size/axetroy/wsm.svg)
77

8-
[![Build Status](https://github.com/axetroy/wsm/workflows/backen/badge.svg)](https://github.com/axetroy/wsm/actions)
8+
[![Build Status](https://github.com/axetroy/wsm/workflows/backend/badge.svg)](https://github.com/axetroy/wsm/actions)
99
[![Docker Build Status](https://img.shields.io/docker/cloud/build/axetroy/wsm-backend)](https://hub.docker.com/r/axetroy/wsm-backend/builds)
1010
[![Docker Pulls](https://img.shields.io/docker/pulls/axetroy/wsm-backend)](https://hub.docker.com/r/axetroy/wsm-backend/builds)
1111
[![Coverage Status](https://coveralls.io/repos/github/axetroy/wsm/badge.svg?branch=master)](https://coveralls.io/github/axetroy/wsm?branch=master)

0 commit comments

Comments
 (0)