Skip to content

cubing/actions-workflows

Repository files navigation

GitHub Actions workflows

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

Publish GitHub release

Automatically publishes 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

Install fish

Installs fish from: https://github.com/fish-shell/fish-shell/releases

Because fish is already compiled, this is much faster than other actions that install from source.

Usage:

    uses: cubing/actions-workflows/actions/install-fish@main

At the moment:

  • There is no option to select the fish version — a recent version is hardcoded.
  • Only Linux x64 is supported.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published