Merge pull request #58 #61
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: Test GraalPy JBang QRCode Demo | |
| on: | |
| push: | |
| paths: | |
| - 'graalpy/graalpy-jbang-qrcode/**' | |
| - '.github/workflows/graalpy-jbang-qrcode.yml' | |
| pull_request: | |
| paths: | |
| - 'graalpy/graalpy-jbang-qrcode/**' | |
| - '.github/workflows/graalpy-jbang-qrcode.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| name: 'graalpy-jbang-qrcode' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: graalvm/setup-graalvm@v1 | |
| with: | |
| java-version: '25.0.1' | |
| distribution: 'graalvm' | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run 'graalpy-jbang-qrcode' demo | |
| run: | | |
| cd graalpy/graalpy-jbang-qrcode | |
| curl -Ls https://sh.jbang.dev | bash -s - --verbose run qrcode.java "Hello from GraalPy!" |