Skip to content

ci(desktop, windows): package exe #7

ci(desktop, windows): package exe

ci(desktop, windows): package exe #7

Workflow file for this run

name: Release packaging
on:
pull_request:
branches:
- develop # To test
- master
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
# TODO: replace this once https://github.com/actions/setup-java/pull/637 gets merged.
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d
with:
java-version: '17'
distribution: 'jetbrains'
- name: Package
run: |
./gradlew application:packageReleaseTarGz
./gradlew application:packageReleaseDeb
./gradlew application:packageReleaseRpm
- name: Prepare Artifacts
run: |
mkdir -p binaries
mv application/build/distribution/*.tar.gz binaries/
mv application/build/compose/binaries/main-release/deb/*.deb binaries/
mv application/build/compose/binaries/main-release/rpm/*.rpm binaries/
- name: Upload
uses: actions/upload-artifact@v4
with:
name: NeoRegex-linux-packages
path: binaries/*
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
# TODO: replace this once https://github.com/actions/setup-java/pull/637 gets merged.
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d
with:
java-version: '17'
distribution: 'jetbrains

Check failure on line 53 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request.yml

Invalid workflow file

You have an error in your yaml syntax on line 53
- name: Package exe
run: ./gradlew application:packageReleaseExe
- name: Upload
uses: actions/upload-artifact@v4
with:
name: NeoRegex-windows-packages
path: application/build/distribution/*.exe