Skip to content

IntelliJ IDEA

IntelliJ IDEA #6

Workflow file for this run

name: IntelliJ IDEA
on:
schedule:
# daily at 4AM for the master branch
- cron: '0 4 * * *'
push:
# for each release
tags:
- 'idea/*'
env:
artifacts_dir: 'out/idea-ce/artifacts'
jobs:
# a single job for all OSes cannot be used due to free disk space lack on runners
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/build_ide
with:
os: linux
extension: tar.gz
- uses: ./.github/actions/upload_ide
with:
os: linux
extension: tar.gz
artifacts_dir: ${{env.artifacts_dir}}
build-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/build_ide
with:
os: windows
extension: exe
- uses: ./.github/actions/upload_ide
with:
os: windows
extension: exe
artifacts_dir: ${{env.artifacts_dir}}
build-macos:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/build_ide
with:
os: mac
extension: sit
- uses: ./.github/actions/upload_ide
with:
os: mac
extension: sit
artifacts_dir: ${{env.artifacts_dir}}
- name: Upload .dmg build scripts
uses: actions/[email protected]
with:
name: dmg-build-scripts
if-no-files-found: 'error'
path: ${{env.artifacts_dir}}/macos-dmg-build/
build-dmg:
runs-on: macos-latest
needs: build-macos
steps:
- uses: actions/[email protected]
- name: Download .dmg build scripts
uses: actions/[email protected]
with:
name: dmg-build-scripts
- name: Download .sit
uses: actions/[email protected]
with:
name: mac-sit-unsigned
- name: Build .dmg
shell: bash
# language=bash
run: /bin/bash ./build.sh
- name: Upload .dmg
uses: ./.github/actions/upload_ide
with:
os: mac
extension: dmg
artifacts_dir: .