Skip to content

Merge pull request #1 from UMC-5th-Notation/dev #78

Merge pull request #1 from UMC-5th-Notation/dev

Merge pull request #1 from UMC-5th-Notation/dev #78

Workflow file for this run

name: update
on: push
jobs:
update:
name: Fastlane Update
runs-on: ['self-hosted', 'Linux', 'X64']
steps:
#
- run : sudo rm -rf /home/ubuntu/actions-runner/_work/CampusNote-FrontEnd-Android/CampusNote-FrontEnd-Android/.gradle
- uses: actions/checkout@v2
#
# - name: Set up JDK 17
# uses: actions/setup-java@v2
# with:
# java-version: '17'
# distribution: "temurin"
#
# - run : export JAVA_HOME=/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.9-9/x64
# - run : export PATH=$JAVA_HOME/bin:$PATH
# - run : source /etc/profile
# - name: Set up ruby env
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 3.2.2
- run : sudo gem install fastlane
# - name: Install Firebase app distribution plugin
# run: sudo fastlane add_plugin firebase_app_distribution
- run : chmod a+x gradlew
- run : gradle --stop
- run : export ANDROID_HOME="/home/ubuntu/Android/Sdk/android-sdk"
- name: Run tests
run: sudo fastlane test
- name: Run slack_build
run: sudo fastlane slack_build