release.yml (738B)
1 name: Release 2 3 on: 4 push: 5 tags: ["v*.*"] 6 7 env: 8 CFLAGS: "-march=x86-64-v2 -O3" 9 10 jobs: 11 github: 12 name: Build Windows Release 13 runs-on: windows-latest 14 permissions: 15 contents: write 16 env: 17 CC: clang 18 defaults: 19 run: 20 shell: msys2 {0} 21 steps: 22 - uses: msys2/setup-msys2@v2 23 with: 24 msystem: clang64 25 update: true 26 install: git mingw-w64-clang-x86_64-clang 27 - uses: actions/checkout@v4 28 with: 29 submodules: 'true' 30 31 - name: Build 32 run: ./build.sh 33 34 - name: Upload Release 35 uses: softprops/action-gh-release@v2 36 if: startsWith(github.ref, 'refs/tags/') 37 with: 38 files: 'Colour Picker.exe' 39