Update android.yml #969
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 | |
| on: | |
| push: | |
| branches: [ test ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v5 | |
| - name: Generate release notes | |
| run: | | |
| git fetch origin tag temp | |
| echo "tag_hash=$(git rev-parse --short refs/tags/temp)" >> "$GITHUB_ENV" | |
| echo "$tag_hash" | |
| echo "release_notes=$(git log $tag_hash..HEAD --oneline --decorate=no)" >> "$GITHUB_ENV" | |
| echo "$release_notes" | |
| - name: Create release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh release create test --draft --notes "$release_notes" --latest=false |