Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Move to OkBuddyGSI part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Feb 19, 2024
1 parent bf3b9fa commit 221c0b7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
runs-on: self-hosted

steps:
# Check-out in order to access the repository's files.
- name: Check-out to repository
uses: actions/checkout@v4
- name: Create workspace
run: mkdir gsi
continue-on-error: true
Expand All @@ -21,20 +24,25 @@ jobs:
- name: Exports
run: |
export BUILD_HOSTNAME=crave; \
export BUILD_USERNAME=sounddrill31
export BUILD_USERNAME=OkBuddyGSI
- name: Run Script
run: curl -sf https://raw.githubusercontent.com/sounddrill31/android_build_scripts_ren/rising/build.sh | sh
run: bash build.sh
# Only reach this when the user killed the workflow.
- name: Execute if the job is cancelled
if: ${{ cancelled() }}
run: crave stop --all
- name: Find output file
run: |
mv */system.img RisingOS-Generic-$(date +%Y%m%d)-OkBuddyGSI-EXPERIMENTATIONS.img
mv system.img RisingOS-Generic-$(date +%Y%m%d)-OkBuddyGSI-EXPERIMENTATIONS.img
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: |
*.img
name: ${{ github.event.inputs.MAKEFILE_NAME }}-${{ github.run_id }}
name: RisingOS-${{ github.run_id }}
tag_name: ${{ github.run_id }}
body: |
Target: ${{ github.event.inputs.MAKEFILE_NAME }}-${{ github.event.inputs.BUILD_TYPE }}
Target: RisingOS-Generic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 221c0b7

Please sign in to comment.