bump: up to android-15.0.0_r10 #19
Workflow file for this run
This file contains 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 | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'v*' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: self-hosted | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.VENDOR_PONCES_PRIV_KEY }} | |
- name: Setup Environment | |
run: echo "RELEASE_TITLE=$(date +'v%Y.%m.%d')" >> $GITHUB_ENV | |
- name: Build Image | |
run: docker build -f build/Dockerfile -t ponces/treble . | |
- name: Build ROM | |
run: | | |
mkdir builds | |
ssh-keyscan github.com > known_hosts | |
docker run --rm \ | |
--privileged \ | |
--name treble \ | |
--env SSH_AUTH_SOCK=/ssh-agent \ | |
--volume $SSH_AUTH_SOCK:/ssh-agent \ | |
--volume ${{ github.workspace }}/known_hosts:/root/.ssh/known_hosts \ | |
--volume ${{ github.workspace }}/builds:/root/builds \ | |
--volume ${{ github.workspace }}/config/ota.json:/aosp/treble_aosp/config/ota.json \ | |
ponces/treble treblebuild | |
- name: Upload OTA | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ota | |
path: config/ota.json | |
- name: Upload ROM | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: builds/*.xz | |
title: ${{ env.RELEASE_TITLE }} | |
tag_name: ${{ env.RELEASE_TITLE }} | |
body: "## Changelog\n- ...\n\n## Notes\n- ..." | |
draft: true | |
prerelease: false |