Skip to content

Commit

Permalink
chore: add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lyledouglass committed Jun 1, 2024
1 parent 35c0bd4 commit 4f5e128
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:

- uses: actions/checkout@v4



- name: Get Next version
id: get-version
uses: ietf-tools/[email protected]
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 4f5e128

Please sign in to comment.