Skip to content

Fix name

Fix name #137

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build&Artifact:

Check failure on line 6 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 6, Col: 3): The identifier 'build&Artifact' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
fetch-tags: true
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Cache
uses: actions/cache@v4.2.3
with:
path:
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build --no-daemon
- name: Upload Build Artifact
uses: actions/upload-artifact@v4.6.2
with:
name: ifw-pre-${{ github.event.head_commit.id }}
path: build/libs/*.jar
retention-days: 7