-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (39 loc) · 1.11 KB
/
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
38
39
name: Create Zip Release On Tag Push
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@0.7.5
with:
type: 'zip'
filename: 'Scuffed-GTNH-Dark-${{ github.ref_name }}.zip'
exclusions: >
*.git*
*.psd
/*designHelp/*
/*psd/*
/*assets/betterp2p/*
- name: Generate Changelog
id: changelog
uses: requarks/changelog-action@v1.10.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
includeInvalidCommits: true
reverseOrder: true
excludeTypes: ''
- name: Create Release
uses: ncipollo/release-action@v1.12.0
with:
artifacts: "Scuffed-GTNH-Dark-${{ github.ref_name }}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
body: ${{ steps.changelog.outputs.changes }}
allowUpdates: true
removeArtifacts: true