Skip to content

Commit

Permalink
Merge pull request wxbool#26 from AsdStudio/master
Browse files Browse the repository at this point in the history
添加Action测试&一些徽章
  • Loading branch information
wxbool authored Feb 16, 2021
2 parents 6ba2eff + 3bf9ea8 commit 8274e5f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build&test video-srt-windows

on:
pull_request:
branches:
- master
- test
- i18n
push:
branches:
- master
- test
- i18n


jobs:
Build:
runs-on: windows-latest
strategy:
matrix:
ver: [ 'test','build' ]
go: [ '1.15','1.14', '1.13' ]
name: ${{ matrix.ver }} video-srt-windows With Go${{ matrix.go }}
steps:
- uses: actions/checkout@v2

- name: Setup go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}


- name: ${{ matrix.ver }} video-srt-windows in go ${{ matrix.go }}
run: go ${{ matrix.ver }}
- name: Cache local go package
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Artifact Pack
uses: actions/upload-artifact@v2
with:
name: videosrt-${{ matrix.ver }}-${{ matrix.go }}.exe
path: videosrt.exe

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# VideoSrt简介
# VideoSrt

[![GitHub license](https://img.shields.io/github/license/wxbool/video-srt-windows?logo=Apache&style=flat-square)](https://github.com/wxbool/video-srt-windows/blob/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/wxbool/video-srt-windows?style=flat-square)](https://github.com/wxbool/video-srt-windows/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/wxbool/video-srt-windows?logo=github&style=flat-square)](https://github.com/wxbool/video-srt-windows/network)
![GitHub Action](https://github.com/wxbool/video-srt-windows/workflows/Go/badge.svg?branch=master)

## 简介

`VideoSrt` 是用 `Golang`语言,基于 [lxn/walk](https://github.com/lxn/walk) Windows-GUI 工具包开发。

Expand Down Expand Up @@ -93,4 +100,4 @@ B站Up主自制教程:[https://search.bilibili.com/all?keyword=videosrt](https
<a name="AyJ3E"></a>
## 捐赠&支持

![](https://pic2.superbed.cn/item/5e00b93476085c3289dd2dc0.png)
![](https://pic2.superbed.cn/item/5e00b93476085c3289dd2dc0.png)

0 comments on commit 8274e5f

Please sign in to comment.