Skip to content

Commit

Permalink
Android 7.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jul 12, 2024
1 parent c7d18ac commit 5d9cc19
Showing 1 changed file with 2 additions and 83 deletions.
85 changes: 2 additions & 83 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,6 @@ jobs:
print(f'::set-output name=prefix::{li}')
print(f'::set-output name=version_file::{vf}')
build-linux:
uses: ./.github/workflows/build-linux.yml
secrets: inherit
needs: set-version
with:
version: ${{ needs.set-version.outputs.version }}
prefix: ${{ needs.set-version.outputs.prefix }}
dist-suffix: x64

# build-windows-x32:
# uses: ./.github/workflows/build-windows.yml
# secrets: inherit
Expand All @@ -107,41 +98,6 @@ jobs:
# update-suffix: 386
# arch: x32

build-windows-x64:
uses: ./.github/workflows/build-windows.yml
secrets: inherit
needs: set-version
with:
version: ${{ needs.set-version.outputs.version }}
prefix: ${{ needs.set-version.outputs.prefix }}
build-suffix: 64
dist-suffix: 64-bit
update-suffix: x64
installer-suffix: -x64
arch: x64

build-darwin:
uses: ./.github/workflows/build-darwin.yml
secrets: inherit
needs: set-version
with:
macos_version: macos-14
xcode_version: latest-stable
version: ${{ needs.set-version.outputs.version }}
version_file: ${{ needs.set-version.outputs.version_file }}
prefix: ${{ needs.set-version.outputs.prefix }}

build-ios:
uses: ./.github/workflows/build-ios.yml
secrets: inherit
needs: set-version
with:
macos_version: macos-14
xcode_version: latest-stable
version: ${{ needs.set-version.outputs.version }}
version_file: ${{ needs.set-version.outputs.version_file }}
prefix: ${{ needs.set-version.outputs.prefix }}

build-android:
uses: ./.github/workflows/build-android.yml
secrets: inherit
Expand All @@ -158,20 +114,6 @@ jobs:
version: ${{ needs.set-version.outputs.version }}
prefix: ${{ needs.set-version.outputs.prefix }}
steps:
- name: Download the mac build output
uses: actions/download-artifact@v4
with:
name: osx-build
- name: Download the linux build output
uses: actions/download-artifact@v4
with:
name: linux-build

- name: Download the windows64 build output
uses: actions/download-artifact@v4
with:
name: windows64-installer-signed

- name: Download the apk build output
uses: actions/download-artifact@v4
with:
Expand All @@ -182,22 +124,8 @@ jobs:
with:
name: android-aab-build

- name: Download the IPA
uses: actions/download-artifact@v4
with:
name: Lantern.ipa

- name: Upload Lantern to TestFlight
uses: apple-actions/upload-testflight-build@v1
if: (needs.set-version.outputs.prefix == 'lantern-installer-preview'|| needs.set-version.outputs.prefix == 'lantern-installer') && (needs.determine-platform.outputs.platform == 'ios' || needs.determine-platform.outputs.platform == 'all')
with:
app-path: Lantern.ipa
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}

- name: Upload Android App bundle to Play Store (beta)
if: needs.set-version.outputs.prefix == 'lantern-installer-preview' && (needs.determine-platform.outputs.platform == 'android' || needs.determine-platform.outputs.platform == 'all')
if: needs.set-version.outputs.prefix == 'lantern-installer-preview'
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
Expand All @@ -206,7 +134,7 @@ jobs:
track: beta

- name: Upload Android App bundle to Play Store (production)
if: needs.set-version.outputs.prefix == 'lantern-installer' && (needs.determine-platform.outputs.platform == 'android' || needs.determine-platform.outputs.platform == 'all')
if: needs.set-version.outputs.prefix == 'lantern-installer'
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
Expand All @@ -224,20 +152,11 @@ jobs:
run: |
diff lantern-installer.apk ${{ env.prefix }}.apk || mv -f lantern-installer.apk ${{ env.prefix }}.apk
diff lantern-installer.aab ${{ env.prefix }}.aab || mv -f lantern-installer.aab ${{ env.prefix }}.aab
mv "lantern_${{env.version}}_x64.deb" ${{ env.prefix }}-64-bit.deb
mv -f lantern-installer.dmg ${{ env.prefix }}.dmg
diff lantern-installer-x64.exe ${{ env.prefix }}-64-bit.exe || mv -f lantern-installer-x64.exe ${{ env.prefix }}-64-bit.exe
mv -f Lantern.ipa ${{ env.prefix }}.ipa
- name: Prepare sha256 sums
run: |
shasum -a 256 ${{ env.prefix }}.apk | cut -d " " -f 1 > ${{ env.prefix }}.apk.sha256
shasum -a 256 ${{ env.prefix }}.aab | cut -d " " -f 1 > ${{ env.prefix }}.aab.sha256
shasum -a 256 ${{ env.prefix }}-mac.dmg | cut -d " " -f 1 > ${{ env.prefix }}-mac.dmg.sha256
shasum -a 256 ${{ env.prefix }}-mac_arm.dmg | cut -d " " -f 1 > ${{ env.prefix }}-mac_arm.dmg.sha256
shasum -a 256 ${{ env.prefix }}-x64.exe | cut -d " " -f 1 > ${{ env.prefix }}-x64.exe.sha256
shasum -a 256 ${{ env.prefix }}-64-bit.deb | cut -d " " -f 1 > ${{ env.prefix }}-64-bit.deb.sha256
shasum -a 256 ${{ env.prefix }}.ipa | cut -d " " -f 1 > ${{ env.prefix }}.ipa.sha256
- name: Commit
run: |
Expand Down

0 comments on commit 5d9cc19

Please sign in to comment.