Merge pull request #6 from Glass-Series/b1.7.3 #18
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: Pack | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.head_commit.message, 'nobuild') }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate Pack | |
| run: ./pack.sh | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: babric-b1.7.3.zip | |
| path: ./babric-b1.7.3.zip | |
| - name: Create Shorthand Hash | |
| id: vars | |
| run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: babric-b1.7.3.zip | |
| name: ${{ steps.vars.outputs.sha_short }} (Generated Release) | |
| body: | | |
| Autogenerated release via actions. | |
| https://github.com/Glass-Series/babric-prism-instance/releases/download/${{ steps.vars.outputs.sha_short }}/babric-b1.7.3.zip | |
| tag_name: ${{ steps.vars.outputs.sha_short }} |