fix: adapt actions to gitea (first try)

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

View File

@ -23,8 +23,11 @@ jobs:
- 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: Set repository name as env variable
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
run: echo "repository_name=$(echo '${{ gitea.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
- name: Set up JDK
uses: actions/setup-java@v3