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

Update README.md

Update README.md #91

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches-ignore:
- builds
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@master
with:
path: "src"
- name: Checkout builds
uses: actions/checkout@master
with:
ref: "builds"
path: "builds"
- name: Checkout Aliucord
uses: actions/checkout@master
with:
repository: "Aliucord/Aliucord"
path: "repo"
- name: Setup JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: zulu
cache: gradle
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Build Plugins
run: |
cd $GITHUB_WORKSPACE/src
chmod +x gradlew
./gradlew make generateUpdaterJson
cp **/build/*.zip $GITHUB_WORKSPACE/builds
cp build/updater.json $GITHUB_WORKSPACE/builds
- name: Push builds
run: |
cd $GITHUB_WORKSPACE/builds
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit
git push