add one-liner parser APIs and clean warnings #16 #2
Workflow file for this run
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: release | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Moonbit | |
| uses: hustcer/setup-moonbit@v1 | |
| # with: | |
| # version: "nightly" | |
| - name: moon check | |
| run: moon update && moon version && moon check --target js | |
| - name: moon test | |
| run: moon build --target js --debug | |
| - name: setup credentials | |
| run: | | |
| mkdir -p ~/.moon | |
| echo '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json | |
| - name: moon publish | |
| run: moon publish |