release.yml (729B)
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 pacboy: ninja:p cmake:p 28 - uses: actions/checkout@v4 29 30 - name: Build 31 run: ./build.sh 32 33 - name: Upload Release 34 uses: softprops/action-gh-release@v2 35 if: startsWith(github.ref, 'refs/tags/') 36 with: 37 files: 'Colour Picker.exe' 38