forked from github/wulkanowy-mirror
fix: adapt actions to gitea
This commit is contained in:
parent
3b2eed487a
commit
a2e641523a
@ -9,22 +9,20 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'develop'
|
- 'develop'
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout the repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set current date as env variable
|
- name: Set current date as env variable
|
||||||
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set ANDROID_HOME
|
- name: Setup Android SDK
|
||||||
run: echo "ANDROID_HOME=/workspace/sadorowo/Android/sdk" >> $GITHUB_ENV
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Set repository name as env variable
|
- name: Set repository name as env variable
|
||||||
run: echo "repository_name=$(echo '${{ gitea.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
|
run: echo "repository_name=$(echo '${{ gitea.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user