- Added some crash guards and colorized the sending clouds. #43
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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| types: [closed] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main repository | |
| uses: actions/checkout@v2 | |
| - name: Create Release | |
| if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: release-v${{ github.run_number }} | |
| release_name: Release release-v${{ github.run_number }} | |
| draft: false | |
| prerelease: false |