-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1.05 KB
/
high_7.2_release.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
40
name: Create High 7.2 Release
on:
push:
branches:
- 7.2-Pre-1-High
jobs:
build:
runs-on: ubuntu-latest
env:
RELEASE_VERSION: ${{ github.run_number }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Exclude unwanted files
run: |
find . -name '.github' -type d -exec rm -rf {} +
find . -name '.git' -type d -exec rm -rf {} +
rm -f README.md
- name: Zip files
uses: montudor/action-zip@v1
with:
args: zip -qq -r Dokucraft-TSC-High_BTA-7.2.zip .
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
tag: "v${{ github.ref_name }}${{ github.run_number }}"
name: "Dokucraft TSC BTA 7.2 High"
body: "Usage: Download the .zip under assets, place in the texturepacks folder. Update ${{ env.RELEASE_VERSION }}"
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: Dokucraft-TSC-High_BTA-7.2.zip