Skip to content

Commit

Permalink
Revert "Use new GitHub workflow"
Browse files Browse the repository at this point in the history
This reverts commit f425612.

# Conflicts:
#	.github/workflows/build.yaml
  • Loading branch information
Virtlink committed May 24, 2024
1 parent cf215d3 commit 8314cb0
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build.yaml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: Build

on: # yamllint disable-line rule:truthy
push:
branches:
- master
- develop
tags:
- "release-*.*.*"
pull_request:
branches:
- master
- develop

jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [11]
gradle: [7.6.4]
runs-on: ${{ matrix.os }}
timeout-minutes: 10 # Timeout in 10 minutes, as Stratego initialization can sometimes deadlock
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Setup Gradle ${{ matrix.gradle }}
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ matrix.gradle }}
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
- name: Build
run: |
gradle buildAll --parallel --stacktrace
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8314cb0

Please sign in to comment.