Skip to content

Commit

Permalink
Create generate_jars.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mandlil authored Aug 7, 2023
1 parent ddce5ce commit 2aa47ad
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/generate_jars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate JUnit and Mockito JARs and Build with Ant

on:
push:
branches:
- workflow-for-binaries # Change this to your main branch name

jobs:
build:
runs-on: ubuntu-latest

steps:

- name: Download JUnit and Mockito JARs
run: |
mkdir -p lib
wget -O lib/junit.jar https://repo1.maven.org/maven2/junit/junit/4.13.2/junit-4.13.2.jar
wget -O lib/mockito.jar https://repo1.maven.org/maven2/org/mockito/mockito-core/3.12.4/mockito-core-3.12.4.jar
- name: Run Ant build
run: ant

- name: Upload JARs as artifacts
uses: actions/upload-artifact@v2
with:
name: generated-jars
path: lib/*.jar

0 comments on commit 2aa47ad

Please sign in to comment.