Add 100ms timeout before making the first stat-call on unix systems. #31
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: Releases | |
on: | |
push: | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
jobs: | |
upload-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run build | |
uses: ./.github/actions/build-linux | |
with: | |
go-version: '1.20' | |
upload: true | |
upload-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run build | |
uses: ./.github/actions/build-macos | |
with: | |
go-version: '1.20' | |
upload: true | |
upload-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run build | |
uses: ./.github/actions/build-windows | |
with: | |
go-version: '1.20' | |
upload: true | |
release: | |
runs-on: ubuntu-latest | |
needs: | |
- upload-linux | |
- upload-macos | |
- upload-windows | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v3 | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "linux-binaries/*,macos-binaries/*,windows-binaries/*" | |
token: ${{ secrets.GITHUB_TOKEN }} |