Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 444 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 444 Bytes

action-publish

GitHub action for publishing a package

Setup

To set up publishing for a package repository add the following to ./github/workflows/publish.yml:

name: Publish package

on:
  push:
    tags:
    - 'v[0-9]+.[0-9]+.[0-9]+'
    - 'v[0-9]+.[0-9]+.[0-9]+-*'

jobs:
  create-release:
    name: Create new release
    runs-on: ubuntu-latest
    steps:
      - name: Publish
        uses: toitlang/[email protected]