Merge branch 'develop' of https://github.com/mathesar-foundation/math… #22
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: Package Mathesar and create draft release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install GNU gettext | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gettext | |
| - name: Run package.sh Script | |
| run: | | |
| chmod +x ./scripts/package.sh | |
| ./scripts/package.sh | |
| - name: Create a draft release | |
| id: create_release | |
| uses: shogo82148/actions-create-release@v1 | |
| with: | |
| draft: true | |
| - name: Upload assets | |
| uses: shogo82148/actions-upload-release-asset@v1 | |
| with: | |
| upload_url: ${{ steps.create_release.outputs.upload_url }} | |
| asset_path: ./dist/* |