Merge pull request #6434 from sbesson/omero_5.6.15 #11
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: "Build and push artifacts" | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| build: | |
| name: Release artifacts | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set version | |
| run: | | |
| tag_name="${GITHUB_REF##*/}" | |
| tag_name=$(grep -o '[0-9].*' <<< $tag_name) | |
| tag_value="${tag_name}-ice36" | |
| echo "omero.version=$tag_value" >> etc/local.properties | |
| - name: Build and package | |
| run: ./build.py build-dev release-all release-src | |
| - name: Create a release and upload Release Assets | |
| run: | | |
| cd target | |
| tag_name="${GITHUB_REF##*/}" | |
| sha256sum ./*.zip >> SHASUMS | |
| gh release create "$tag_name" ./*.zip SHASUMS | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |