Merge pull request #267 from korngold-werkausgabe/multiple-ids #24
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 develop state | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # fetch all history to include latest tags for build metadata | |
| submodules: 'recursive' | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build develop.xar with bwbohl/sencha-cmd:2.1.0 | |
| run: | | |
| docker run --rm -i -v "$GITHUB_WORKSPACE:/app" --name sencha ghcr.io/bwbohl/sencha-cmd:2.1.0 ant | |
| sudo chown -R "$(id -u):$(id -g)" build-xar | |
| mv build-xar/*.xar build-xar/develop.xar | |
| - name: Move develop tag | |
| run: | | |
| git tag -f dev "$GITHUB_SHA" | |
| git push origin refs/tags/dev --force | |
| - name: Create GitHub Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| tag: dev | |
| name: "Development build" | |
| body: "Automatic release from the develop branch." | |
| prerelease: true | |
| allowUpdates: true | |
| removeArtifacts: true | |
| artifacts: build-xar/**/* |