-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This is a workflow to package and upload on CurseForge and GitHub Releases using BigWigs/Packager | ||
|
||
name: Release | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Package alpha version at 06:00 UTC every Thursday | ||
schedule: | ||
- cron: '0 6 * * THU' | ||
# Triggers the workflow on tag events | ||
push: | ||
tags: '*' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# checkout@v2 doesn't pull tags by default now, which results in super long auto changelog, so pull all history incl. tags | ||
# alternative would be to use checkout@v1 | ||
fetch-depth: 0 | ||
|
||
# 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 }} | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | ||
WAGO_API_TOKEN: ${{ secrets.WAGO_API_KEY }} |