fix: openjdk18 fix to working archive version 18.0.2-9 #15
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| shell: [powershell, pwsh] | |
| defaults: | |
| run: | |
| shell: ${{ matrix.shell }} | |
| steps: | |
| - name: Checkout Bucket | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| # Need at least 2 commits to properly gather changed files for linting | |
| fetch-depth: 2 | |
| path: 'my_bucket' | |
| - name: Checkout Scoop | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: ScoopInstaller/Scoop | |
| ref: 'develop' | |
| path: 'scoop_core' | |
| - name: Install and cache test dependencies | |
| uses: potatoqualitee/psmodulecache@ee5e9494714abf56f6efbfa51527b2aec5c761b8 # v6.2.1 | |
| with: | |
| modules-to-cache: BuildHelpers, Pester | |
| shell: ${{ matrix.shell }} | |
| - name: Run tests | |
| run: | | |
| $env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')" | |
| .\my_bucket\bin\test.ps1 |