Projects STRLCPY redress Commits d3996eab
🤬
  • ■ ■ ■ ■ ■ ■
    .github/workflows/release.yml
     1 +name: Build release
     2 + 
     3 +on:
     4 + release:
     5 + types: [created]
     6 + 
     7 +jobs:
     8 + CI:
     9 + runs-on: ubuntu-latest
     10 + steps:
     11 + - uses: actions/checkout@v2
     12 + 
     13 + - name: Set up Go
     14 + uses: actions/setup-go@v2
     15 + with:
     16 + go-version: 1.16
     17 + 
     18 + - name: Build
     19 + run: make release
     20 + 
     21 + - name: Upload files to a GitHub release
     22 + if: startsWith(github.ref, 'refs/tags/')
     23 + env:
     24 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
     25 + run: gh release create -d ${{ github.ref }} ./dist/*
     26 +
     27 + 
Please wait...
Page is in error, reload to recover