Skip to content

fix build workflow and add release workflow #1

fix build workflow and add release workflow

fix build workflow and add release workflow #1

Workflow file for this run

name: Build and Deploy WurstScript
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
name: Build WurstScript and Upload Artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Grant Gradle permissions
working-directory: ./de.peeeq.wurstscript
run: chmod +x ./gradlew
- name: Build WurstPack zips
working-directory: ./de.peeeq.wurstscript
run: ./gradlew create_zips
- name: Upload wurstpack_complete.zip as artifact
uses: actions/upload-artifact@v4
with:
name: wurstpack_complete
path: downloads/wurstpack_complete.zip
- name: Upload wurstpack_compiler.zip as artifact
uses: actions/upload-artifact@v4
with:
name: wurstpack_compiler
path: downloads/wurstpack_compiler.zip