FIxed a bug where removing an item from a category would error out. #289
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 (alpha) | |
# This workflow automatically creates an alpha release when it runs on push to main, as there is no tag information available. | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
# 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 | |
env: | |
GITHUB_OAUTH: ${{ secrets.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: | |
# we first have to clone the AddOn project, this is a required step | |
- name: Clone project | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # gets git history for changelogs | |
# once cloned, we just run the GitHub Action for the packager project | |
- name: Package and release | |
uses: BigWigsMods/[email protected] |