github.com/cristalhq/netx@v0.0.0-20221116164110-442313ef3309/.github/workflows/build.yml (about)

     1  name: build
     2  
     3  on:
     4    push:
     5      branches: [main]
     6    pull_request:
     7    workflow_dispatch:
     8      inputs:
     9        tag:
    10          description: 'Tag to create'
    11          required: true
    12          default: 'v0.0.0'
    13  
    14  # See https://github.com/cristalhq/.github/.github/workflows
    15  jobs:
    16    build:
    17      uses: cristalhq/.github/.github/workflows/build.yml@main
    18  
    19    release:
    20      if: github.event_name == 'workflow_dispatch'
    21      uses: cristalhq/.github/.github/workflows/release.yml@main
    22      with:
    23        tag: ${{ github.event.input.tag }}