Skip to content

Commit 4452636

Browse files
authored
windows slow
1 parent 5976af4 commit 4452636

1 file changed

Lines changed: 3 additions & 23 deletions

File tree

.github/workflows/go.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,6 @@ on:
55
branches: [ master ]
66

77
jobs:
8-
build-w:
9-
name: Build for Windows
10-
runs-on: windows-latest
11-
steps:
12-
13-
- name: Set up Go 1.x
14-
uses: actions/setup-go@v2
15-
with:
16-
go-version: ^1.13
17-
id: go
18-
- name: Check out code into the Go module directory
19-
uses: actions/checkout@v2
20-
21-
- name: Build
22-
run: go build -v .
23-
- name: Upload Artifacts
24-
uses: actions/upload-artifact@v1
25-
with:
26-
name: encoder-windows.exe
27-
path: encoder.exe
288
build-l:
299
name: Build for Linux
3010
runs-on: ubuntu-latest
@@ -66,14 +46,14 @@ jobs:
6646

6747
release:
6848
if: ${{ success() }}
69-
needs: [ build-w, build-l, build-x ]
49+
needs: [ build-l, build-x ]
7050
runs-on: ubuntu-latest
7151
steps:
7252
- name: Create Release
7353
id: create_release
7454
uses: actions/create-release@v1
7555
env:
76-
GITHUB_TOKEN: ${{ secrets.UPLOAD }} # This token is provided by Actions, you do not need to create your own token
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
7757
with:
7858
tag_name: ${{ github.ref }}
7959
release_name: Release ${{ github.ref }}
@@ -83,7 +63,7 @@ jobs:
8363
id: upload-release-asset
8464
uses: actions/upload-release-asset@v1
8565
env:
86-
GITHUB_TOKEN: ${{ secrets.UPLOAD }}
66+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8767
with:
8868
upload_url: ${{ steps.create_release.outputs.upload_url }}
8969
asset_path: ./encoder*

0 commit comments

Comments
 (0)