impellers 0.4.2

Bindings to Flutter's 2D vector graphics renderer
Documentation
on:
  push:
    tags:
      - "a_*"
name: Release
env:
  UPLOAD_DIR: ${{ github.workspace }}/assets
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          submodules: recursive

      - name: Ensure ENGINE_SHA is up to date.
        shell: bash
        run: |
          # Check to ensure that we are using the correct submodule and haven't made any accidental changes.
          git submodule status
          [ "$(cat ENGINE_SHA)" = "$(git submodule status | cut -d ' ' -f2)" ]
          echo "ENGINE_SHA matches submodule commit"

      - name: Download Flutter's artefacts
        shell: bash
        run: |
          mkdir "$UPLOAD_DIR"
          ./download_flutter_artefacts.sh "$UPLOAD_DIR"
          
      - name: Upload Assets
        uses: xresloader/upload-to-github-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tags: true
          draft: true
          file: "${{ env.UPLOAD_DIR }}/*"