diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index fcf95a8..5c1dc19 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -26,11 +26,7 @@ jobs: - name: Install dependencies (Ubuntu) if: runner.os == 'Linux' - run: sudo apt-get update -qq && sudo apt-get install -y upx-ucl build-essential cargo git golang - - - name: Install dependencies (macOS) - if: runner.os == 'macOS' - run: brew install upx cargo-c + run: sudo apt-get update -qq && sudo apt-get install -y git - name: Set up Go uses: actions/setup-go@v4.1.0 @@ -40,21 +36,21 @@ jobs: - name: Build binary run: | GOARCH=${{ matrix.architecture }} make build - mv build/qasectl qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} + mv build/qli qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} - name: Generate Checksum id: checksum run: | if [[ "${{ runner.os }}" == "macOS" ]]; then - shasum -a 256 qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} > qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 + shasum -a 256 qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} > qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 else - sha256sum qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} > qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 + sha256sum qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} > qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 fi - name: Upload Artifact uses: actions/upload-artifact@v3 with: - name: qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} + name: qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} path: | - qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} - qasectl-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 \ No newline at end of file + qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }} + qli-${{ env.TAG }}-${{ runner.os }}-${{ matrix.architecture }}.sha256 \ No newline at end of file diff --git a/Makefile b/Makefile index 44bc531..6d5f35a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: build build: @mkdir -p build - @go build -a -ldflags="-X github.com/qase-tms/qasectl/internal.Version=$(shell git describe --tags)" -o build/qasectl ./main.go + @go build -a -ldflags="-X github.com/qase-tms/qasectl/internal.Version=$(shell git describe --tags)" -o build/qli ./main.go clean: @rm -rf ./build/* \ No newline at end of file