Skip to content

Commit

Permalink
Merge pull request #3 from tellison/ci
Browse files Browse the repository at this point in the history
Initial CI action
  • Loading branch information
cyberphone authored Nov 30, 2022
2 parents a8961b6 + 8724bb9 commit 656e6a2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read

jobs:
ci:
name: Run CI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
persist-credentials: false

- uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3.6.0
with:
distribution: 'temurin'
java-version: '17'

- name: Run the Ant build target
shell: bash
run: |
cd library
ant build
- name: Test the results
shell: bash
run: |
cd library
ant testsks testkeygen2 testjson testcbor
- uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1
with:
name: openkeystore_jar
path: library/dist/webpki.org-libext-*.jar

0 comments on commit 656e6a2

Please sign in to comment.