jungm commented on code in PR #3:
URL: https://github.com/apache/tomee-jakartaee-api/pull/3#discussion_r1817841506


##########
.github/workflows/main.yml:
##########
@@ -0,0 +1,37 @@
+name: CI Main
+
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+    branches:
+      - main
+  workflow_dispatch:
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v4
+    - name: Set up JDK 11
+      uses: actions/setup-java@v4
+      with:
+        java-version: '11'
+        distribution: 'temurin'
+
+    - name: Cache Maven packages
+      uses: actions/cache@v4
+      with:
+        path: ~/.m2
+        key: ${{ runner.os }}-main-m2-${{ hashFiles('**/pom.xml') }}
+        restore-keys: ${{ runner.os }}-main-m2
+
+    - name: maven-settings-xml-action
+      run: echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\"; 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; 
xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0 
http://maven.apache.org/xsd/settings-1.0.0.xsd\";> <activeProfiles> 
<activeProfile>github</activeProfile> </activeProfiles> <profiles> <profile> 
<id>github</id> <repositories> <repository> <id>central-repo</id> 
<url>https://repo.maven.apache.org/maven2</url> <releases> 
<enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> 
</snapshots> </repository> </repositories> <pluginRepositories> 
<pluginRepository> <id>central-plugin-repository</id> 
<url>https://repo.maven.apache.org/maven2</url> <releases> 
<enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> 
</snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> 
<servers/> <mirrors/> <pluginGroups/> </settings>" > ~/.m2/settings.xml

Review Comment:
   unneeded IMO, this only contains maven central anyways



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to