Skip to content

Commit f2d7d51

Browse files
committed
fix CI
1 parent c5c9bd9 commit f2d7d51

File tree

4 files changed

+7
-368
lines changed

4 files changed

+7
-368
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 6 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
jobs:
8-
create-test-artifacts:
8+
test:
99
runs-on: ubuntu-20.04
1010

1111
steps:
@@ -20,73 +20,10 @@ jobs:
2020
repo-token: ${{ secrets.GITHUB_TOKEN }}
2121
version: 3.x
2222

23-
- name: Build
24-
run: |
25-
PACKAGE_NAME_PREFIX="${{ github.workflow }}"
26-
if [ "${{ github.event_name }}" = "pull_request" ]; then
27-
PACKAGE_NAME_PREFIX="$PACKAGE_NAME_PREFIX-${{ github.event.number }}"
28-
fi
29-
PACKAGE_NAME_PREFIX="$PACKAGE_NAME_PREFIX-${{ github.sha }}-"
30-
export PACKAGE_NAME_PREFIX
31-
task dist:all
32-
33-
# Uploads all architectures as separate artifacts
34-
- name: Upload Linux 32 bit artifact
35-
uses: actions/upload-artifact@v2
36-
with:
37-
name: Linux_32bit
38-
path: dist/*Linux_32bit.tar.gz
39-
40-
- name: Upload Linux 64 bit artifact
41-
uses: actions/upload-artifact@v2
42-
with:
43-
name: Linux_64bit
44-
path: dist/*Linux_64bit.tar.gz
45-
46-
- name: Upload Windows 32 bit artifact
47-
uses: actions/upload-artifact@v2
48-
with:
49-
name: Windows_32bit
50-
path: dist/*Windows_32bit.zip
51-
52-
- name: Upload Windows 64 bit artifact
53-
uses: actions/upload-artifact@v2
54-
with:
55-
name: Windows_64bit
56-
path: dist/*Windows_64bit.zip
57-
58-
- name: Upload Linux ARMv6 artifact
59-
uses: actions/upload-artifact@v2
23+
- name: Install Go
24+
uses: actions/setup-go@v2
6025
with:
61-
name: Linux_ARMv6
62-
path: dist/*Linux_ARMv6.tar.gz
26+
go-version: "1.16"
6327

64-
- name: Upload Linux ARMv7 artifact
65-
uses: actions/upload-artifact@v2
66-
with:
67-
name: Linux_ARMv7
68-
path: dist/*Linux_ARMv7.tar.gz
69-
70-
- name: Upload Linux ARM64 artifact
71-
uses: actions/upload-artifact@v2
72-
with:
73-
name: Linux_ARM64
74-
path: dist/*Linux_ARM64.tar.gz
75-
76-
- name: Upload Linux ARM64 bit artifact
77-
uses: actions/upload-artifact@v2
78-
with:
79-
name: Linux_ARM64
80-
path: dist/*Linux_ARM64.tar.gz
81-
82-
- name: Upload MacOS 64 bit artifact
83-
uses: actions/upload-artifact@v2
84-
with:
85-
name: macOS_64bit
86-
path: dist/*macOS_64bit.tar.gz
87-
88-
- name: Upload checksums
89-
uses: actions/upload-artifact@v2
90-
with:
91-
name: checksums
92-
path: dist/*checksums.txt
28+
- name: Build
29+
run: task build

DistTasks.yml

Lines changed: 0 additions & 218 deletions
This file was deleted.

0 commit comments

Comments
 (0)