From 0000c0d2aef1ac4dadd8d69ca5d3730662045249 Mon Sep 17 00:00:00 2001 From: Kamus Hadenes Date: Thu, 3 Mar 2022 05:08:58 -0300 Subject: [PATCH] update workflows --- .github/workflows/create_release.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index cd17f6f..a6de191 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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