Changeset 18670 in josm for trunk/.github/workflows/ant-test.yml
- Timestamp:
- 2023-02-20T22:41:26+01:00 (3 years ago)
- File:
-
- 1 edited
-
trunk/.github/workflows/ant-test.yml (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/ant-test.yml
r18488 r18670 2 2 env: 3 3 junit_platform_version: '1.7.2' 4 # ANT_HOME is also our ant version5 ANT_HOME: 'apache-ant-1.10.12'6 4 on: 7 5 - push … … 27 25 steps: 28 26 - name: Checkout 29 uses: actions/checkout@v 227 uses: actions/checkout@v3 30 28 with: 31 29 fetch-depth: 256 32 30 33 31 - name: Cache 34 uses: actions/cache@v 2.0.032 uses: actions/cache@v3 35 33 with: 36 34 path: | … … 40 38 41 39 - name: Setup Java ${{ matrix.java }} 42 uses: actions/setup-java@v 240 uses: actions/setup-java@v3 43 41 with: 44 42 distribution: 'zulu' 45 43 java-version: ${{ matrix.java }} 46 44 47 - name: Install Ant ${{ env.ANT_HOME }} 48 run: | 49 if [ ! -f tools/${{ env.ANT_HOME }}-bin.tar.gz ]; then 50 curl -o tools/${{ env.ANT_HOME }}-bin.tar.gz https://downloads.apache.org/ant/binaries/${{ env.ANT_HOME }}-bin.tar.gz 51 fi 52 tar zxf tools/${{ env.ANT_HOME }}-bin.tar.gz 53 54 - name: Ant diagnostics 55 run: ${{ env.ANT_HOME }}/bin/ant -diagnostics 45 - name: Install Ant 46 uses: JOSM/JOSMPluginAction/actions/setup-ant@v1 56 47 57 48 - name: Test with Ant 58 49 run: | 59 ANT=" ${{ env.ANT_HOME }}/bin/ant -DnoJavaFX=true test-unit-hardfail"50 ANT="ant -DnoJavaFX=true test-unit-hardfail" 60 51 $ANT -Dtest.headless=true 61 52 … … 66 57 - name: Upload Ant reports 67 58 if: ${{ always() }} 68 uses: actions/upload-artifact@v 259 uses: actions/upload-artifact@v3 69 60 with: 70 61 name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }} … … 82 73 steps: 83 74 - name: Download Artifacts 84 uses: actions/download-artifact@v 275 uses: actions/download-artifact@v3 85 76 with: 86 77 path: artifacts … … 88 79 - name: Publish Test Report with action-junit-report 89 80 if: ${{ always() }} 90 uses: mikepenz/action-junit-report@v 281 uses: mikepenz/action-junit-report@v3 91 82 with: 92 83 report_paths: 'artifacts/**/*.xml' … … 94 85 95 86 - name: Publish Test Report with publish-unit-test-result-action 96 uses: EnricoMi/publish-unit-test-result-action@v 187 uses: EnricoMi/publish-unit-test-result-action@v2 97 88 with: 98 89 files: 'artifacts/**/*.xml'
Note:
See TracChangeset
for help on using the changeset viewer.
