-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update_zenroom2
- Loading branch information
Showing
117 changed files
with
633 additions
and
13,114 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
.github/workflows/alpha_version.yml → .github/workflows/alpha_version.yml.disabled
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# need to be move in Forkbomb/ship-capacitor-apps | ||
name: '🧪 and 📢 and 📲' | ||
|
||
on: | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,57 +1,19 @@ | ||
name: '📢 and 📲' | ||
name: 🔥📲 Publish on Firebase Distribution | ||
|
||
on: | ||
pull_request: | ||
branches: ['main'] | ||
|
||
jobs: | ||
distribute: | ||
runs-on: ubuntu-latest | ||
environment: test | ||
steps: | ||
- uses: dyne/pnpm@main | ||
with: | ||
submodules: true | ||
node-version: '20.11.1' | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Setup java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: zulu | ||
java-version: '17' | ||
- name: Decode Keystore File | ||
uses: timheuer/base64-to-file@v1 | ||
id: android_keystore | ||
with: | ||
fileName: android_keystore.keystore | ||
encodedString: ${{ secrets.ANDROID_KEYSTORE_FILE }} | ||
- name: Decode Service Account File | ||
uses: timheuer/base64-to-file@v1 | ||
id: service_account | ||
with: | ||
fileName: play-store-credentials.json | ||
encodedString: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true | ||
|
||
- uses: maierj/fastlane-action@v3.1.0 | ||
env: | ||
KEYSTORE_PATH: ${{ steps.android_keystore.outputs.filePath }} | ||
SERVICE_ACCOUNT_PATH: ${{ steps.service_account.outputs.filePath }} | ||
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }} | ||
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }} | ||
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} | ||
PULL_REQUEST_NUMBER: ${{ github.event.number }} | ||
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }} | ||
PUBLIC_BACKEND_URL: ${{ vars.PUBLIC_BACKEND_URL }} | ||
with: | ||
lane: distribute | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_android.yml@main | ||
with: | ||
backend-url: ${{ github.env.test.vars.PUBLIC_BACKEND_URL }} | ||
lane: distribute | ||
secrets: | ||
keystore-file: ${{ secrets.ANDROID_KEYSTORE_FILE }} | ||
service-account: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }} | ||
keystore-alias: ${{ secrets.KEYSTORE_KEY_ALIAS }} | ||
keystore-password: ${{ secrets.KEYSTORE_STORE_PASSWORD }} | ||
keystore-key-password: ${{ secrets.KEYSTORE_KEY_PASSWORD }} | ||
firebase-app-id: ${{ secrets.FIREBASE_APP_ID }} |
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,19 @@ | ||
name: 🤖🌈 Publish android alpha version | ||
|
||
on: | ||
pull_request: | ||
branches: ['main'] | ||
|
||
jobs: | ||
distribute: | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_android.yml@main | ||
with: | ||
backend-url: ${{ github.env.test.vars.PUBLIC_BACKEND_URL }} | ||
lane: alpha | ||
package-name: com.didroom.verifier | ||
secrets: | ||
keystore-file: ${{ secrets.PLAYSTORE_KEYSTORE }} | ||
service-account: ${{ secrets.PLAYSTORE_SERVICE_ACCOUNT }} | ||
keystore-alias: ${{ secrets.PLAYSTORE_KEYSTORE_ALIAS }} | ||
keystore-password: ${{ secrets.PLAYSTORE_KEYSTORE_PASSWORD }} | ||
keystore-key-password: ${{ secrets.PLAYSTORE_KEYSTORE_KEY_PASSWORD }} |
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,72 @@ | ||
name: 🤖🌈 Publish android alpha version | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
|
||
jobs: | ||
distribute: | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_android.yml@main | ||
with: | ||
backend-url: ${{ github.env.test.vars.PUBLIC_BACKEND_URL }} | ||
lane: beta | ||
package-name: com.didroom.verifier | ||
secrets: | ||
keystore-file: ${{ secrets.PLAYSTORE_KEYSTORE }} | ||
service-account: ${{ secrets.PLAYSTORE_SERVICE_ACCOUNT }} | ||
keystore-alias: ${{ secrets.PLAYSTORE_KEYSTORE_ALIAS }} | ||
keystore-password: ${{ secrets.PLAYSTORE_KEYSTORE_PASSWORD }} | ||
keystore-key-password: ${{ secrets.PLAYSTORE_KEYSTORE_KEY_PASSWORD }} | ||
|
||
semantic-release: | ||
permissions: | ||
contents: write | ||
needs: distribute | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
outputs: | ||
release: ${{ steps.tag_release.outputs.release }} | ||
version: ${{ steps.tag_release.outputs.version }} | ||
steps: | ||
- uses: dyne/pnpm@main | ||
with: | ||
submodules: true | ||
node-version: '20.11.1' | ||
- name: Tag release | ||
id: tag_release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
npx semantic-release >semantic-release.log | ||
cat semantic-release.log | ||
if [[ `git tag --points-at HEAD` == "" ]]; then | ||
echo "release=False" >> $GITHUB_OUTPUT | ||
else | ||
echo "release=True" >> $GITHUB_OUTPUT | ||
awk '/Published release/ { printf("version=v%s\n",$8) }' semantic-release.log >> $GITHUB_OUTPUT | ||
fi | ||
echo "Result" | ||
cat $GITHUB_OUTPUT | ||
draft-release: | ||
permissions: | ||
contents: write | ||
needs: semantic-release | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.semantic-release.outputs.release == 'True' }} | ||
steps: | ||
- name: download binary artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: | | ||
release | ||
- name: relase all binary artifacts | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
release/artifact/* | ||
draft: false | ||
prerelease: false | ||
fail_on_unmatched_files: true | ||
generate_release_notes: true | ||
tag_name: ${{ needs.semantic-release.outputs.version }} |
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,23 @@ | ||
name: 🤖🌈 Submit for review on App Store | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
distribute_ios: | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_ios.yml@main | ||
with: | ||
backend-url: ${{ vars.PUBLIC_BACKEND_URL }} | ||
lane: ios production | ||
DEMO_USER: ${{ github.env.ios.vars.USER_EMAIL }} | ||
DEMO_PASSWORD: ${{ github.env.ios.vars.USER_PASSWORD }} | ||
secrets: | ||
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }} | ||
BUNDLE_IDENTIFIER: com.didroom.verifier | ||
BUILD_CERTIFICATE_BASE64: ${{ secrets.IOS_BUILD_CERTIFICATE }} | ||
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.IOS_BUILD_PROVISION_PROFILE }} | ||
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }} | ||
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }} | ||
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }} | ||
APPLE_PROFILE_NAME: ${{ secrets.APPLE_PROFILE_NAME }} | ||
P12_PASSWORD: ${{ secrets.P12_PASSWORD }} |
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,18 @@ | ||
name: 🤖🌈 Publish on android play store in production | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
distribute_android: | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_android.yml@main | ||
with: | ||
backend-url: ${{ vars.PUBLIC_BACKEND_URL }} | ||
lane: production | ||
package-name: com.didroom.verifier | ||
secrets: | ||
keystore-file: ${{ secrets.PLAYSTORE_KEYSTORE }} | ||
service-account: ${{ secrets.PLAYSTORE_SERVICE_ACCOUNT }} | ||
keystore-alias: ${{ secrets.PLAYSTORE_KEYSTORE_ALIAS }} | ||
keystore-password: ${{ secrets.PLAYSTORE_KEYSTORE_PASSWORD }} | ||
keystore-key-password: ${{ secrets.PLAYSTORE_KEYSTORE_KEY_PASSWORD }} |
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,29 @@ | ||
name: 🍏✨ Publish on TestFlight | ||
|
||
on: | ||
pull_request: | ||
branches: ['main'] | ||
|
||
jobs: | ||
testflight: | ||
uses: ForkbombEu/ship-capacitor-apps/.github/workflows/ship_ios.yml@main | ||
with: | ||
backend-url: ${{github.env.test.vars.PUBLIC_BACKEND_URL}} | ||
lane: ios testflight | ||
initial-build-number: "3" | ||
DEMO_USER: ${{github.env.test.vars.DEMO_USER}} | ||
DEMO_PASSWORD: ${{github.env.test.vars.DEMO_PASSWORD}} | ||
CONTACT_EMAIL: info@forkbomb.eu | ||
CONTACT_FIRST_NAME: Andrea | ||
CONTACT_LAST_NAME: D'Intino | ||
CONTACT_PHONE: "+4521627918" | ||
secrets: | ||
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }} | ||
BUNDLE_IDENTIFIER: com.didroom.verifier | ||
BUILD_CERTIFICATE_BASE64: ${{ secrets.IOS_BUILD_CERTIFICATE }} | ||
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.IOS_BUILD_PROVISION_PROFILE }} | ||
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }} | ||
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }} | ||
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }} | ||
APPLE_PROFILE_NAME: ${{ secrets.APPLE_PROFILE_NAME }} | ||
P12_PASSWORD: ${{ secrets.P12_PASSWORD }} |
Oops, something went wrong.