Update release.yml #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package and release | |
# we need to let GitHub know _when_ we want to release, which is only when we create a new tag. | |
on: | |
push: | |
tags: | |
- "**" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
# "steps" holds a list of all the steps needed to package and release our AddOn | |
steps: | |
# we first have to clone the AddOn project, this is a required step | |
- name: Clone project | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Generate Changelog | |
run: ./generate_changelog.sh | |
# once cloned, we just run the GitHub Action for the packager project | |
- name: Package and release | |
uses: BigWigsMods/packager@v2 | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} |