forked from Kingsman44/Pixelify
-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (46 loc) · 1.19 KB
/
Copy pathmain.yml
File metadata and controls
52 lines (46 loc) · 1.19 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
name: Pixelify Next STABLE/BETA
on:
workflow_dispatch:
inputs:
version:
description: 'Build untested module versions'
required: true
type: string
target_branch:
description: 'Select the version to build'
required: true
type: choice
options:
- STABLE
- BETA
default: 'BETA'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
- name: Setup Java JDK
uses: actions/setup-java@v5.1.0
with:
distribution: 'temurin'
java-version: '17'
- name: Make Gradlew executable
run: chmod +x gradlew
- name: Build
run: ./gradlew build
- name: Verify Artifact Files Exist
run: |
echo "Listing contents of the 'out/' directory:"
ls -R out/
- name: Find and Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Build Objects
path: |
out/Pixelify*.zip
out/config.prop