Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kamushadenes committed Mar 3, 2022
1 parent e656a0c commit 0000c0d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
go-version: "^1.17.6"

- run: go build -o apkrash_darwin_arm64
working-directory: "cmd/"
env:
GOOS: "darwin"
GOARCH: "arm64"
Expand All @@ -23,9 +24,10 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_darwin_arm64
path: apkrash_darwin_arm64
path: cmd/apkrash_darwin_arm64

- run: go build -o apkrash_darwin_amd64
working-directory: "cmd/"
env:
GOOS: "darwin"
GOARCH: "amd64"
Expand All @@ -34,9 +36,10 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_darwin_amd64
path: apkrash_darwin_amd64
path: cmd/apkrash_darwin_amd64

- run: go build -o apkrash_linux_386
working-directory: "cmd/"
env:
GOOS: "linux"
GOARCH: "386"
Expand All @@ -45,9 +48,10 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_linux_386
path: apkrash_linux_386
path: cmd/apkrash_linux_386

- run: go build -o apkrash_linux_amd64
working-directory: "cmd/"
env:
GOOS: "linux"
GOARCH: "amd64"
Expand All @@ -56,9 +60,10 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_linux_amd64
path: apkrash_linux_amd64
path: cmd/apkrash_linux_amd64

- run: go build -o apkrash_windows_386
working-directory: "cmd/"
env:
GOOS: "windows"
GOARCH: "386"
Expand All @@ -67,9 +72,10 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_windows_386
path: apkrash_windows_386
path: cmd/apkrash_windows_386

- run: go build -o apkrash_windows_amd64
working-directory: "cmd/"
env:
GOOS: "windows"
GOARCH: "amd64"
Expand All @@ -78,7 +84,7 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: apkrash_windows_amd64
path: apkrash_windows_amd64
path: cmd/apkrash_windows_amd64

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0000c0d

Please sign in to comment.