-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95b0b03
commit 628aafd
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: ⚛️ Native Sym | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
# docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow | ||
# docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch | ||
# docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_dispatchinputs | ||
workflow_dispatch: | ||
# github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ | ||
# docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputs | ||
inputs: | ||
commit: | ||
description: 'commit sha' | ||
default: '' | ||
required: true | ||
|
||
jobs: | ||
# from: github.com/Menci/acme/blob/5a12d53/action.yml | ||
Symbols: | ||
name: 🔥 Firebase | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
COMMIT: ${{ github.event.inputs.commit || github.sha }} | ||
|
||
steps: | ||
- name: 🥏 Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🎱 Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21 | ||
|
||
- name: 🎨 Deps | ||
run: npm install -g firebase-tools | ||
|
||
- name: 🚀 Firestack AAR | ||
run: | | ||
# wget opts: superuser.com/a/689340 | ||
wgetopts="--tries=3 --retry-on-http-error=404 --waitretry=3 --no-dns-cache" | ||
wget $wgetopts "https://jitpack.com/com/github/celzero/firestack/${COMMIT:0:10}/firestack-${COMMIT:0:10}-debug.aar" -O "firestack.aar" | ||
unzip firestack.aar | ||
firebase crashlytics:symbols:upload --app=${{ secrets.FIREBASE_APP_ID_ANDROID }} ./jni/ | ||
shell: bash | ||
env: | ||
COMMIT: ${{ env.COMMIT }} | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | ||
|
||
|
||
|
628aafd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1455