📦 :octocat: GitHub Action for creating GitHub Releases
Find a file
2019-08-25 22:35:32 -04:00
.github/workflows just push the latest tag for now 2019-08-25 15:22:48 -04:00
src log assumed mime 2019-08-25 22:35:32 -04:00
tests/data/foo extract, test and fix path selection to only include files 2019-08-25 15:13:13 -04:00
.dockerignore extract, test and fix path selection to only include files 2019-08-25 15:13:13 -04:00
.gitignore init 2019-08-25 02:13:05 -04:00
Cargo.lock init 2019-08-25 02:13:05 -04:00
Cargo.toml init 2019-08-25 02:13:05 -04:00
Dockerfile separate build from strip (debugging) 2019-08-25 18:46:21 -04:00
LICENSE lic 2019-08-25 02:17:01 -04:00
README.md docs 2019-08-25 22:32:14 -04:00
rustfmt.toml init 2019-08-25 02:13:05 -04:00

action gh-release

A Github Action for creating Github Releases

Usage

name: Main

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Build
        run: echo ${{ github.sha }} > Release.txt
      - name: Release
        uses: docker://softprops/action-gh-release
        if: startsWith(github.ref, 'refs/tags/')
        with:
          files: Release.txt
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

inputs

Name Type Description
body String text communicating notable changes in this release
draft Boolean indicator of whether or not this release is a draft
files String comma-delimited globs of paths to assets to upload for release
name String name of the release. defaults to tag name

environment variables

Name Description
GITHUB_TOKEN GITHUB_TOKEN as provided by secrets

Doug Tangren (softprops) 2019