Skip to content

Commit 74c0abc

Browse files
committed
update github action
1 parent 44355d5 commit 74c0abc

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Diff for: .github/workflows/go-build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ jobs:
1414
stable: 'true'
1515
go-version: '^1.16.1'
1616
- name: build
17-
run: go get github.com/mitchellh/gox && mkdir dist && perl build.pl && ls -al dist/
17+
run: |
18+
go get github.com/mitchellh/gox
19+
mkdir dist
20+
perl build.pl
21+
ls -al dist/

Diff for: .github/workflows/docker-image.yml renamed to .github/workflows/release.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ on:
55
tags: '*'
66

77
jobs:
8-
docker-build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v2
12-
- name: Build the Docker image
13-
run: docker build . --file Dockerfile --tag hellojukay/httpfs:$(date +%s)
14-
build:
8+
release:
159
runs-on: ubuntu-latest
1610
steps:
1711
- uses: actions/checkout@v2
@@ -20,7 +14,11 @@ jobs:
2014
stable: 'true'
2115
go-version: '^1.16.1'
2216
- name: build
23-
run: go get github.com/mitchellh/gox && mkdir dist && perl build.pl && ls -al dist/
17+
run: |
18+
go get github.com/mitchellh/gox
19+
mkdir dist
20+
perl build.pl
21+
ls -al dist/
2422
- name: Upload binaries to release
2523
uses: svenstaro/upload-release-action@v2
2624
with:

0 commit comments

Comments
 (0)