Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use artefacts from the maven build instead of creating your own #1597

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 51 additions & 51 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins -DfailIfNoTests=false

- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: Repository
path: io.sloeber.updatesite/target/repository
- name: Archive Windows 64 bit
uses: actions/upload-artifact@v2
with:
name: windows
path: io.sloeber.product/target/products/io.sloeber.product/win32/win32/x86_64/
- name: Archive Linux 64 bit
uses: actions/upload-artifact@v2
with:
name: linux
path: io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/
- name: Archive Mac 64 bit
uses: actions/upload-artifact@v2
with:
name: macosx
path: io.sloeber.product/target/products/io.sloeber.product/macosx/cocoa/x86_64
- name: Archive Mac ARM 64 bit
uses: actions/upload-artifact@v2
with:
name: macosx_arm
path: io.sloeber.product/target/products/io.sloeber.product/macosx/cocoa/aarch64
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins -DfailIfNoTests=false
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: Repository
path: io.sloeber.updatesite/target/repository
- name: Archive Windows 64 bit
uses: actions/upload-artifact@v3
with:
name: windows
path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-win32.win32.x86_64.zip
- name: Archive Linux 64 bit
uses: actions/upload-artifact@v3
with:
name: linux
path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-linux.gtk.x86_64.tar.gz
- name: Archive Mac 64 bit
uses: actions/upload-artifact@v3
with:
name: macosx
path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.x86_64.zip
- name: Archive Mac ARM 64 bit
uses: actions/upload-artifact@v3
with:
name: macosx_arm
path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.aarch64.zip
Loading