Skip to content

Commit

Permalink
refactor(fixed yaml path)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Palmqvist <[email protected]>
  • Loading branch information
coolusername244 and PalmN72 committed Nov 1, 2023
1 parent 23fb188 commit e35e8d2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-and-ship-android:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/apps/skolplattformen-app-new/Gemfile
BUNDLE_GEMFILE: ${{ github.workspace }}/apps/skolplattformen-app/Gemfile
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -34,21 +34,21 @@ jobs:
with:
node-version: '18.13'
cache: 'npm'
cache-dependency-path: ${{ github.workspace }}/apps/skolplattformen-app-new/package-lock.json
cache-dependency-path: ${{ github.workspace }}/apps/skolplattformen-app/package-lock.json
- name: set npm version
run: npm install -g [email protected] && echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} workspace= ${{ github.workspace }} secrets.MAPS_API_KEY=${{secrets.MAPS_API_KEY}}"
- run: cd apps/skolplattformen-app-new/android && bundle install
- run: cd apps/skolplattformen-app/android && bundle install
- name: install node modules
run: cd apps/skolplattformen-app-new && npm ci
- name: Setup local.properties
run: echo "MAPS_API_KEY=${{ env.MAPS_API_KEY }}" > ${{ github.workspace }}/apps/skolplattformen-app-new/android/local.properties
run: echo "MAPS_API_KEY=${{ env.MAPS_API_KEY }}" > ${{ github.workspace }}/apps/skolplattformen-app/android/local.properties
env:
MAPS_API_KEY: ${{ secrets.MAPS_API_KEY }}
- name: Setup key.json
run: echo "${KEY_JSON}" > ${{ github.workspace }}/apps/skolplattformen-app-new/android/key.json
run: echo "${KEY_JSON}" > ${{ github.workspace }}/apps/skolplattformen-app/android/key.json
env:
KEY_JSON: ${{ secrets.KEY_JSON }}
- run: cd apps/skolplattformen-app-new/android && bundle exec fastlane android beta
- run: cd apps/skolplattformen-app/android && bundle exec fastlane android beta
env:
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
ALIAS_KEY_PASSWORD: ${{ secrets.ALIAS_KEY_PASSWORD }}
Expand All @@ -57,12 +57,12 @@ jobs:
if: ${{ failure() }}
with:
name: native_debug_symbols.zip
path: ${{ github.workspace }}/apps/skolplattformen-app-new/android/native_debug_symbols.zip
path: ${{ github.workspace }}/apps/skolplattformen-app/android/native_debug_symbols.zip
retention-days: 5
- name: 'Store build mappings for difficult crashlytics traces'
uses: actions/upload-artifact@v3
if: ${{ success() }}
with:
name: mapping.txt
path: ${{ github.workspace }}/apps/skolplattformen-app-new/android/app/build/outputs/mapping/release/mapping.txt
path: ${{ github.workspace }}/apps/skolplattformen-app/android/app/build/outputs/mapping/release/mapping.txt
retention-days: 500

0 comments on commit e35e8d2

Please sign in to comment.