Skip to content

doc: patch #550 learn more url #1744

doc: patch #550 learn more url

doc: patch #550 learn more url #1744

Workflow file for this run

# This workflow builds the Eclipse plugin with Maven/Tycho and uploads
# the plugin JAR and p2 update site as downloadable artifacts.
#
# Artifacts are available from the Actions tab on every PR and main push.
name: Maven Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "feature/*" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.18.0
with:
checkout-fetch-depth: 0
java-version: 17
java-distribution: temurin
maven-version: 3.9.8
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload plugin JAR
if: success()
uses: actions/upload-artifact@v4
with:
name: amazon-q-eclipse-plugin
path: plugin/target/amazon-q-eclipse-*.jar
if-no-files-found: error
retention-days: 30
- name: Upload update site
if: success()
uses: actions/upload-artifact@v4
with:
name: amazon-q-eclipse-update-site
path: updatesite/target/amazon-q-eclipse-update-site-*.zip
if-no-files-found: error
retention-days: 30