corrected to setup-java v5 #2
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: Testing Setup-Java with 386 architecture | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| test-386: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 17 for 386 architecture | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| architecture: 'x86' | |
| - name: Verify Java installation and cache | |
| run: | | |
| java -version | |
| echo "Cache key: ${{ steps.cache-java.outputs.cache-hit }}" | |