Skip to content

Commit

Permalink
切换到Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vouv committed Dec 18, 2020
1 parent f7053f9 commit 0cf510c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release
name: Deploy

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
deploy:
name: Deploy
runs-on: ubuntu-20.04
steps:
- id: checkout_code
uses: actions/checkout@v2
Expand Down Expand Up @@ -43,6 +43,7 @@ jobs:
asset_path: ./bin/srun-mac
asset_name: srun-mac
asset_content_type: application/octet-stream

- name: Upload Release Linux
id: upload-release-linux
uses: actions/upload-release-asset@v1
Expand All @@ -53,6 +54,7 @@ jobs:
asset_path: ./bin/srun-linux
asset_name: srun-linux
asset_content_type: application/octet-stream

- name: Upload Release Windows
id: upload-release-windows
uses: actions/upload-release-asset@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Name the Job
name: Build
# Set the type of machine to run on
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- uses: actions/checkout@v2
Expand Down
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cmd/srun/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
)

const Version = "v1.1.2"
const Version = "v1.1.3"

var loginCmd = &cobra.Command{
Use: "login",
Expand Down

0 comments on commit 0cf510c

Please sign in to comment.