mucke/.github/workflows/main.yml

29 lines
1.1 KiB
YAML
Raw Normal View History

2020-06-01 22:26:17 +02:00
# This is a basic workflow to help you get started with Actions
2020-06-07 11:39:37 +02:00
name: Build
2020-06-01 22:26:17 +02:00
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
2022-10-03 14:15:12 +02:00
on: [push, pull_request, workflow_dispatch]
2020-06-01 22:26:17 +02:00
# 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"
2020-06-07 11:39:37 +02:00
build:
2020-06-01 22:26:17 +02:00
# The type of runner that the job will run on
runs-on: ubuntu-latest
2022-10-02 22:32:12 +02:00
defaults:
run:
working-directory: src
2022-12-29 20:43:22 +01:00
env:
KEYSTORE_GITHUB: ${{ secrets.KEYSTORE_GITHUB }}
KEY_PROPERTIES_GITHUB: ${{ secrets.KEY_PROPERTIES_GITHUB }}
2022-12-29 21:22:55 +01:00
KEY_PROPERTIES_DUMMY: ${{ secrets.KEY_PROPERTIES_DUMMY }}
2020-06-01 22:26:17 +02:00
# 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
2022-10-02 22:13:22 +02:00
- uses: actions/checkout@v3
2022-12-29 21:36:54 +01:00
- run: echo $KEYSTORE_GITHUB | base64 -d > android/github.jks
- run: echo $KEY_PROPERTIES_DUMMY | base64 -d > android/key.properties
2022-12-29 21:22:55 +01:00
- run: cat android/key.properties