reduce folder nesting #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: install moonbit | |
| run: | | |
| curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash | |
| echo "$HOME/.moon/bin" >> $GITHUB_PATH | |
| - name: moon check | |
| run: moon check | |
| - name: moon test | |
| run: moon test --target wasm-gc | |
| - name: setup credentials | |
| run: | | |
| mkdir -p ~/.moon | |
| echo '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json | |
| - name: moon publish | |
| run: moon publish |