Skip to content

Merge pull request #12 from Ratakor/master #43

Merge pull request #12 from Ratakor/master

Merge pull request #12 from Ratakor/master #43

Workflow file for this run

# Description of this workflow, can be anything you want
name: Package and release
# We need to let GitHub know _when_ we want to release, typically only when we create a new tag.
# This will target only tags, and not all pushes to the master branch.
# This part can be heavily customized to your liking, like targeting only tags that match a certain word,
# other branches or even pull requests.
on:
push:
tags:
- '**'
# A workflow is built up as jobs, and within these jobs are steps.
jobs:
# "release" is a job, you can name it anything you want
release:
# We can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
runs-on: ubuntu-latest
# Specify the environment variables used by the packager, matching the secrets from the project on GitHub
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.OAUTH_GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
# for your own token, the name cannot start with "GITHUB_"
# "steps" holds a list of all the steps needed to package and release our AddOn
steps:
# Clone the AddOn project, this is a required step
- name: Clone project
uses: actions/checkout@v1
with:
# You can specify how much of the commit history you want to fetch,
# which is useful for controlling the length of the automated changelog
fetch-depth: 50
# Package and release all versions
- name: Package and release
uses: BigWigsMods/packager@v2
#with:
# args: -S