Skip to content

Commit 2398138

Browse files
committed
Update v0.0.6
1 parent e89ce63 commit 2398138

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ jobs:
3636
run: |
3737
sudo apt-get update && sudo apt-get install -y libpango1.0-dev libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
3838
39-
- name: Set BUILD envs for Windows
39+
- name: Set BUILD envs for Windows using MSYS2
4040
if: matrix.os == 'windows-latest'
4141
shell: bash
4242
run: |
43-
choco install mingw --version 11.2.0.07112021 --allow-downgrade
44-
echo "export PATH=/c/tools/mingw64/bin:\$PATH" >> $GITHUB_ENV
45-
echo "export CXX=x86_64-w64-mingw32-g++" >> $GITHUB_ENV
46-
echo "export CC=x86_64-w64-mingw32-gcc" >> $GITHUB_ENV
43+
choco install msys2
44+
/c/tools/msys64/usr/bin/bash -lc "pacman -Sy --noconfirm"
45+
/c/tools/msys64/usr/bin/bash -lc "pacman -S --noconfirm mingw-w64-x86_64-toolchain"
46+
echo "export PATH=/c/tools/msys64/mingw64/bin:/c/tools/msys64/usr/bin:\$PATH" >> ${GITHUB_ENV}
4747
4848
- name: do testing
4949
shell: bash
5050
run: |
51-
go test
51+
go test -v ./...
5252
5353
Release:
5454
runs-on: ubuntu-latest
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Get latest tag
6363
run: |
64-
echo "LATEST_TAG=$(git tag | grep -v '^latest$' | sort -V | tail -n1)" >> $GITHUB_ENV
64+
echo "LATEST_TAG=$(git tag | grep -v '^latest$' | sort -V | tail -n1)" >> ${GITHUB_ENV}
6565
6666
- name: Bump version and push tag
6767
id: tag-version

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package config
22

33
const (
44
ProjectName = "fltk_go"
5-
ProjectVersion = "v0.0.5"
5+
ProjectVersion = "v0.0.6"
66
)

0 commit comments

Comments
 (0)