Skip to content

build: 1.3.4

build: 1.3.4 #21

Workflow file for this run

# MIT License
#
# Copyright (c) 2021-2025 VidTu
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# SPDX-License-Identifier: MIT
name: 'Build (Main)'
permissions: {}
on:
push:
branches: [ 'main' ]
jobs:
main:
name: 'Build (Main)'
runs-on: 'ubuntu-24.04'
timeout-minutes: 15
permissions:
contents: 'write'
steps:
- name: 'Checkout'
timeout-minutes: 1
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
persist-credentials: false
- name: 'Setup JDK'
timeout-minutes: 1
uses: 'actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00' # v4.7.1
with:
java-version: 17
distribution: 'temurin'
- name: 'Setup Gradle'
timeout-minutes: 5
uses: 'gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96' # v4.4.1
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
dependency-graph: 'generate-and-submit'
- name: 'Build (Main)'
timeout-minutes: 15
run: './gradlew assemble'
- name: 'Upload'
timeout-minutes: 5
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # v4.6.2
with:
name: 'Artifacts'
path: 'build/libs'