Release minetest-gymnasium 0.31.3 #8
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: release_minetest_gymnasium | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| tags: | |
| - minetest-gymnasium/v* | |
| workflow_dispatch: | |
| jobs: | |
| rattler-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Needed to run the tests | |
| - name: install libgl | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgl1-mesa-dev | |
| - name: write rattler credentials | |
| # Can be removed once https://github.com/prefix-dev/rattler-build-action/issues/4 | |
| run: | | |
| RATTLER_AUTH_FILE=${{ runner.temp }}/credentials.json | |
| echo '{"repo.prefix.dev":{"BearerToken":"${{ secrets.PREFIX_DEV_API_KEY }}"}}' > "${RATTLER_AUTH_FILE}" | |
| echo "RATTLER_AUTH_FILE=$RATTLER_AUTH_FILE" >> "$GITHUB_ENV" | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: build minetest-gymnasium | |
| uses: prefix-dev/rattler-build-action@v0.2.9 | |
| with: | |
| recipe-path: ./rattler-build-recipe/minetest-gymnasium/recipe.yaml | |
| build-args: --channel=https://repo.prefix.dev/obelisk --channel=conda-forge | |
| upload-artifact: false # don't upload to GitHub | |
| - name: upload | |
| run: | | |
| for pkg in $(find ./output -type f \( -name "*.conda" \) ); do | |
| echo "Uploading ${pkg}" | |
| rattler-build upload prefix -c obelisk "${pkg}" | |
| done | |
| env: | |
| PREFIX_API_KEY: ${{ secrets.PREFIX_DEV_API_KEY }} |