Skip to content

cubing/actions-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Actions workflows

Reusable GitHub Actions workflows for https://github.com/cubing projects.

Publish GitHub release

Automatically publisheds a GitHub release when a tag starting with v (e.g. v0.1.3) is pushed. This allows the latest release to show up in the sidebar of the project page on GitHub.

Usage:

# bash
mkdir -p ./.github/workflows
cat << CONTENTS > ./.github/workflows/publish-github-release.yaml
name: Publish GitHub release

on:
  push:
    tags:
      - v*

jobs:
  Publish:
    permissions:
      contents: write
    if: startsWith(github.ref, 'refs/tags/v')
    uses: cubing/actions-workflows/.github/workflows/publish-github-release.yaml@main
CONTENTS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published