Bump golang.org/x/crypto from 0.31.0 to 0.45.0 in /desktop #227
This file contains hidden or 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: Distribute executable | |
| on: | |
| push: | |
| branches: [master] | |
| tags: | |
| - "*" | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| # Cross-compile | |
| xgo: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go_version: | |
| - 1.21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ">=1.21.0" | |
| - name: Test package | |
| run: go test ./... | |
| - name: Build with xgo | |
| uses: crazy-max/ghaction-xgo@v3 | |
| with: | |
| xgo_version: latest | |
| go_version: ${{ matrix.go_version }} | |
| dest: build | |
| prefix: renpy-graphviz | |
| targets: windows/386,windows/amd64,linux/386,linux/amd64,darwin/386,darwin/amd64 | |
| v: true | |
| x: false | |
| race: false | |
| ldflags: -s -w | |
| buildmode: default | |
| - name: Release | |
| uses: fnkr/github-action-ghr@v1 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| env: | |
| GHR_PATH: build/ | |
| GITHUB_TOKEN: ${{ secrets.GO_RELEASE_KEY }} |