forked from srhinos/new-openables
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 984 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Main - CurseForge - Package and Release - All pushes
# Deploy on all pushes to master, except '.github/**' folder.
on:
push:
branches:
- main
tags:
- '*'
- '!**-alpha**'
paths-ignore:
- '.github/**'
jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_KEY }}
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:
- name: Clone project
uses: actions/checkout@v1
with:
fetch-depth: 0 # for automated history
- name: Package and Release
uses: BigWigsMods/packager@master
#continue-on-error: true
with:
args: -l -n "{package-name}-{project-version}:{package-name}-{project-version}"