Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Latest commit

 

History

History
69 lines (50 loc) · 2.64 KB

File metadata and controls

69 lines (50 loc) · 2.64 KB

Github Create Release Action

Actions Status GitHub release

GitHub Action to create GitHub Release automatically.

ubuntu_install

Example Usage

workflow "Deploy Release" {
  on = "push"
  resolves = [" Github Create Release"]
}

action "Filters for Master branch" {
  uses = "actions/bin/filter@master"
  args = "branch master"
}

action " Github Create Release" {
  uses = "frankjuniorr/github-create-release-action@master
  needs = ["Filters for Master branch"]
  secrets = ["GITHUB_TOKEN"]
}

In this case above, the Action only triggered if branch was master

Environment Variables

Optional, but if you pass the env var VERSION, the action will create a git tag with this value. Same thing with the var DESCRIPTION, if you pass, the release will be created with this description, otherwise, the release' description will be a last commit

License

    Copyright 2019 Frank Junior
    ----------------------------------------------------------------------------
    "THE BEERWARE LICENSE" (Revision 42):
    <frankcbjunior@gmail.com> wrote this file. As long as you retain this notice you
    can do whatever you want with this stuff. If we meet some day, and you think
    this stuff is worth it, you can buy me a beer in return Frank Junior.
    ----------------------------------------------------------------------------

Beerware_logo

Copyright 2019 Frank Junior

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.