Bump rollup in /app/built_in_plugins/src/main/widgets #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build the app | ||
Check failure on line 1 in .github/workflows/release.yml GitHub Actions / Build the appInvalid workflow file
|
||
on: | ||
push: | ||
pull_request: | ||
release: | ||
types: [created] | ||
jobs: | ||
build_windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: π© Set up JDK 11 | ||
uses: actions/checkout@v3 | ||
- name: ποΈ Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
cache: maven | ||
- name: ποΈ Set deploy channel env | ||
run: echo "DEPLOY_CHANNEL=${{ (github.event.release.prerelease && 'beta') || 'stable' }}" >> $GITHUB_ENV | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: ποΈ Set deploy channel env | ||
run: echo "DEPLOY_CHANNEL=dev" >> $GITHUB_ENV | ||
if: ! startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: ποΈ Compile the deploy helper | ||
run: cd deploy-helper && bash ./mvnw clean package | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: π¨ Compile the app | ||
run: bash build.sh compile | ||
- name: π¦ Build the Windows artifact | ||
run: bash build.sh dist-windows | ||
- name: π Upload the Windows artifact to GitHub (x86_64) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-windows-x86_64.zip | ||
path: dist/artifacts/Casterlabs-Caffeinated-windows-x86_64.zip | ||
build_macos: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: π© Set up JDK 11 | ||
uses: actions/checkout@v3 | ||
- name: ποΈ Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
cache: maven | ||
- name: ποΈ Set deploy channel env | ||
run: echo "DEPLOY_CHANNEL=${{ (github.event.release.prerelease && 'beta') || 'stable' }}" >> $GITHUB_ENV | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: ποΈ Set deploy channel env | ||
run: echo "DEPLOY_CHANNEL=dev" >> $GITHUB_ENV | ||
if: ! startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: ποΈ Compile the deploy helper | ||
run: cd deploy-helper && bash ./mvnw clean package | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: π¨ Compile the app | ||
run: bash build.sh compile | ||
- name: π¦ Build the macOS artifact | ||
run: bash build.sh dist-macos | ||
- name: π Upload the macOS artifact to GitHub (aarch64) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-macos-aarch64.tar.gz | ||
path: dist/artifacts/Casterlabs-Caffeinated-macos-aarch64.tar.gz | ||
- name: π Upload the macOS artifact to GitHub (x86_64) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-macos-x86_64.tar.gz | ||
path: dist/artifacts/Casterlabs-Caffeinated-macos-x86_64.tar.gz | ||
build_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: π© Set up JDK 11 | ||
uses: actions/checkout@v3 | ||
- name: ποΈ Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
cache: maven | ||
- name: ποΈ Set deploy channel env | ||
run: echo "DEPLOY_CHANNEL=${{ (startsWith(github.ref, 'refs/tags/1.2-') && ((github.event.release.prerelease && 'beta') || 'stable')) || 'dev' }}" >> $GITHUB_ENV | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: ποΈ Compile the deploy helper | ||
run: cd deploy-helper && bash ./mvnw clean package | ||
if: startsWith(github.ref, 'refs/tags/1.2-') | ||
- name: π¨ Compile the app | ||
run: bash build.sh compile | ||
- name: π¦ Build the Linux artifact | ||
run: bash build.sh dist-linux | ||
- name: π Upload the Linux artifact to GitHub (aarch64) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-gnulinux-aarch64.tar.gz | ||
path: dist/artifacts/Casterlabs-Caffeinated-gnulinux-aarch64.tar.gz | ||
- name: π Upload the Linux artifact to GitHub (arm) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-gnulinux-arm.tar.gz | ||
path: dist/artifacts/Casterlabs-Caffeinated-gnulinux-arm.tar.gz | ||
- name: π Upload the Linux artifact to GitHub (x86_64) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Casterlabs-Caffeinated-gnulinux-x86_64.tar.gz | ||
path: dist/artifacts/Casterlabs-Caffeinated-gnulinux-x86_64.tar.gz |