-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (32 loc) · 895 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
name: Create Archive
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'dev.zip'
exclusions: '*.git* README.md *.schema* *.zip'
- name: Delete dev files
run: rm assets/minecraft/textures/particle/effect_*
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'patreon.zip'
exclusions: '*.git* README.md *.schema* *.zip *.py'
- name: Delete
uses: ame-yu/action-delete-latest-release@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "patreon.zip,dev.zip"
tag: "patreon"
token: ${{ secrets.GITHUB_TOKEN }}