Skip to content

Commit 8515139

Browse files
author
kali
committed
test workflow matrix
1 parent 1cb3747 commit 8515139

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

.github/workflows/build.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,46 @@ jobs:
99

1010
build:
1111
runs-on: ${{ matrix.os }}
12-
startegy:
12+
strategy:
1313
matrix:
1414
os: [windows-latest, macos-latest, ubuntu-latest]
1515
go-version: [1.18]
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v3
1818

19-
- name: Set up Golang ${{ matrix.go-version }}
20-
uses: actions/setup-go@v3
21-
with:
22-
go-version: ${{ matrix.go-version }}
23-
24-
- name: Install winres for windows
25-
if: matrix.os == 'windows-latest'
26-
run: go install github.com/tc-hib/go-winres@latest
27-
28-
- name: Build for windows
29-
if: matrix.os == 'windows-latest'
30-
run: |
31-
go-winres make
32-
go build -ldflags="-H windowsgui -s -w" -o BurpSuiteProLoader-windows.exe
33-
dir
34-
35-
- name: Build for macos
36-
if: matrix.os == 'macos-latest'
37-
run: |
38-
go build -ldflags="-s -w" -o BurpSuiteProLoader-darwin
39-
ls -la
40-
41-
- name: Build for ubuntu
42-
if: matrix.os == 'ubuntu-latest'
43-
run: |
44-
go build -ldflags="-s -w" -o BurpSuiteProLoader-linux
45-
ls -la
19+
- name: Set up Golang ${{ matrix.go-version }}
20+
uses: actions/setup-go@v3
21+
with:
22+
go-version: ${{ matrix.go-version }}
23+
24+
- name: Install winres for windows
25+
if: matrix.os == 'windows-latest'
26+
run: go install github.com/tc-hib/go-winres@latest
27+
28+
- name: Build for windows
29+
if: matrix.os == 'windows-latest'
30+
run: |
31+
go-winres make
32+
go build -ldflags="-H windowsgui -s -w" -o BurpSuiteProLoader-windows.exe
33+
dir
34+
35+
- name: Build for macos
36+
if: matrix.os == 'macos-latest'
37+
run: |
38+
go build -ldflags="-s -w" -o BurpSuiteProLoader-darwin
39+
ls -la
40+
41+
- name: Build for ubuntu
42+
if: matrix.os == 'ubuntu-latest'
43+
run: |
44+
go build -ldflags="-s -w" -o BurpSuiteProLoader-linux
45+
ls -la
4646
47-
- name: Release
48-
uses: softprops/action-gh-release@v1
49-
if: startsWith(github.ref, 'refs/tags/')
50-
with:
51-
files: |
52-
BurpSuiteProLoader-windows.exe
53-
BurpSuiteProLoader-darwin
54-
BurpSuiteProLoader-linux
47+
- name: Release
48+
uses: softprops/action-gh-release@v1
49+
if: startsWith(github.ref, 'refs/tags/')
50+
with:
51+
files: |
52+
BurpSuiteProLoader-windows.exe
53+
BurpSuiteProLoader-darwin
54+
BurpSuiteProLoader-linux

0 commit comments

Comments
 (0)