fix: adapt actions to gitea

This commit is contained in:
Franek 2024-05-09 14:33:52 +02:00
parent 3b2eed487a
commit a2e641523a
No known key found for this signature in database
GPG Key ID: 0329F871B2079351

View File

@ -9,22 +9,20 @@ on:
branches:
- 'develop'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set current date as env variable
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Set ANDROID_HOME
run: echo "ANDROID_HOME=/workspace/sadorowo/Android/sdk" >> $GITHUB_ENV
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Set repository name as env variable
run: echo "repository_name=$(echo '${{ gitea.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV