Skip to content

Commit

Permalink
workflow: add github workflow for building extensions and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxGalaxy committed Aug 14, 2024
1 parent 92551e4 commit 29ad8b9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Extension CI

on:
workflow_dispatch:
push:
paths-ignore:
- README.md
- LICENSE
- .gitignore

jobs:
build:
name: Build Extension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin

- name: Allow gradlew permission
run: chmod +x ./gradlew

- name: Build debug extension files
run: ./gradlew generateExtensions

- name: Upload extension files
uses: actions/upload-artifact@v3
with:
name: android-appstudio-extension-files
path: extension/build/extensions

0 comments on commit 29ad8b9

Please sign in to comment.