Test gpg signing #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Integration Tests | |
on: [push, pull_request] | |
env: | |
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 24 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '24' | |
distribution: 'temurin' | |
cache: maven | |
- name: Configure unit test GPG key | |
run: | | |
echo -n "$UNIT_TEST_SIGNING_KEY" | base64 --decode | gpg --import | |
env: | |
UNIT_TEST_SIGNING_KEY: ${{ vars.UNIT_TEST_SIGNING_KEY }} | |
shell: bash | |
- name: Build library | |
run: mvn install | |
working-directory: ./windowsapi-code-generator | |
- name: Build Maven plug-in | |
run: mvn install | |
working-directory: ./windowsapi-maven-plugin | |
- name: Windows API tests | |
run: mvn verify | |
working-directory: ./integration-tests/windows-api-tests |