mucke/.github/workflows/main.yml
2022-12-29 21:22:55 +01:00

29 lines
1.1 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: Build
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
defaults:
run:
working-directory: src
env:
KEYSTORE_GITHUB: ${{ secrets.KEYSTORE_GITHUB }}
KEY_PROPERTIES_GITHUB: ${{ secrets.KEY_PROPERTIES_GITHUB }}
KEY_PROPERTIES_DUMMY: ${{ secrets.KEY_PROPERTIES_DUMMY }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- run: echo $KEYSTORE_GITHUB | base64 --decode > android/github.jks
- run: echo $KEY_PROPERTIES_DUMMY > android/key.properties
- run: echo $KEY_PROPERTIES_DUMMY
- run: cat android/key.properties