From 2a2ddd74d82e8e65de1e13d4e15ba443471be7e9 Mon Sep 17 00:00:00 2001 From: Clifton Kaznocha Date: Tue, 31 Aug 2021 21:35:59 +0200 Subject: [PATCH] Update ci.yml (#29) garch -> goarch Closes #28 --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c24b7d..c4d7be4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,15 +6,17 @@ jobs: strategy: matrix: goos: [darwin, freebsd, linux, windows] - garch: ["386", amd64, arm, arm64] + goarch: ["386", amd64, arm, arm64] exclude: - goos: windows - garch: arm64 + goarch: arm64 - goos: darwin - garch: arm + goarch: arm + - goos: darwin + goarch: "386" env: GOOS: ${{ matrix.goos }} - GARCH: ${{ matrix.garch }} + GOARCH: ${{ matrix.goarch }} steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 @@ -23,7 +25,7 @@ jobs: - run: go build -v . - uses: actions/upload-artifact@v2 with: - name: protoc-gen-lint_${{ matrix.goos }}_${{ matrix.garch }} + name: protoc-gen-lint_${{ matrix.goos }}_${{ matrix.goarch }} path: protoc-gen-lint* lint: needs: build