add lotdivider to Security (#26) #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
build-release-binaries_windows: | |
name: Build server | |
permissions: | |
contents: write # for wangyoucao577/go-release-action to upload release assets | |
runs-on: self-hosted | |
strategy: | |
matrix: | |
goos: [windows] | |
goarch: [amd64] | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Go Release server | |
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
overwrite: true | |
extra_files: txmlconnector64-6.43.2.24.0.dll | |
binary_name: "txmlconnector-server" | |
pre_command: "apt-get update && apt-get install --no-install-recommends -y gcc-mingw-w64-x86-64 && export CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++" | |
ldflags: "-extldflags -static -s -w" | |
asset_name: "server_${{ matrix.goos }}_${{ matrix.goarch }}" | |
- name: Go Release queues | |
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
overwrite: true | |
extra_files: txmlconnector64-6.43.2.24.0.dll | |
project_path: "examples/queues" | |
binary_name: "txmlconnector-queues" | |
pre_command: "apt-get update && apt-get install --no-install-recommends -y gcc-mingw-w64-x86-64 && export CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++" | |
ldflags: "-extldflags -static -s -w" | |
asset_name: "queues_${{ matrix.goos }}_${{ matrix.goarch }}" |