From 4f5e12897034cb68d2d1a491b59121263d7e9f58 Mon Sep 17 00:00:00 2001 From: Lyle Douglass Date: Sat, 1 Jun 2024 13:40:22 -0400 Subject: [PATCH] chore: add debug --- .github/workflows/build.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbb2b04..de82f62 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,8 +15,6 @@ jobs: - uses: actions/checkout@v4 - - - name: Get Next version id: get-version uses: ietf-tools/semver-action@v1.8.0 @@ -25,11 +23,6 @@ jobs: branch: ${{ github.ref }} noVersionBumpBehavior: 'current' - - name: debug - run: | - echo ${{ steps.get-version.outputs.next }} - echo ${{ steps.get-version.outputs.bump }} - - name: Set up Go uses: actions/setup-go@v4 with: @@ -38,15 +31,15 @@ jobs: - name: Make build folder run: mkdir build - - name: ls debug - run: ls -a && pwd - - name: Update version in main.go shell: bash run: | new_version=${{ steps.get-version.outputs.nextStrict }} sed -i "s/const version = \"[0-9]*\.[0-9]*\.[0-9]*\"/const version = \"$new_version\"/g" ${{ github.workspace }}/main.go + - name: Debug + run: cat ${{ github.workspace}}/main.go + - name: Build for Windows (amd64) run: | env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools.exe