-
Notifications
You must be signed in to change notification settings - Fork 4
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 atavism/webview-updates
- Loading branch information
Showing
3 changed files
with
45 additions
and
19 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 |
---|---|---|
|
@@ -78,6 +78,11 @@ jobs: | |
- name: Granting private modules access | ||
run: git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
|
||
- name: Setup protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install latest protoc-gen-go | ||
run: go install github.com/golang/protobuf/protoc-gen-go@latest | ||
|
||
|
@@ -233,14 +238,18 @@ jobs: | |
echo "VideoInterstitialZoneId=$TAPSELL_VIDEO_INTERSTITIAL_ZONE_ID" >> app.env | ||
echo "InterstitialZoneId=$TAPSELL_INTERSTITIAL_ZONE_ID" >> app.env | ||
- name: Setup protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Extract app version from pubspec.yaml | ||
id: extract_version | ||
shell: bash | ||
run: | | ||
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //') | ||
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV | ||
- name: Build Lantern Library | ||
shell: bash | ||
run: make ${{matrix.platform}} | ||
env: | ||
VERSION: ${{ env.version }} | ||
|
||
- name: Activate plugins | ||
run: | | ||
|
@@ -270,32 +279,25 @@ jobs: | |
mkdir -p "build/windows/${{inputs.windows-arch}}/runner/Release" | ||
mv liblantern.dll "build/windows/${{inputs.windows-arch}}/runner/Release" | ||
- name: Extract app version from pubspec.yaml | ||
id: extract_version | ||
shell: bash | ||
run: | | ||
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //') | ||
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV | ||
- name: Build Flutter app (Windows) | ||
if: matrix.platform == 'windows' | ||
run: | | ||
New-Item -Path "./dist/${{ env.APP_VERSION }}" -ItemType Directory -Force | ||
flutter_distributor package --platform windows --targets exe --skip-clean | ||
env: | ||
VERSION: "${{ env.version }}" | ||
VERSION: ${{ env.version }} | ||
|
||
- name: Build Flutter app (Android) | ||
if: matrix.platform == 'android' | ||
run: make ${{ matrix.platform }}-${{ matrix.target }}-release | ||
env: | ||
VERSION: "${{ env.version }}" | ||
VERSION: ${{ env.version }} | ||
|
||
- name: Build Flutter app | ||
if: matrix.platform != 'windows' && matrix.platform != 'android' | ||
run: make ${{ matrix.platform }}-release | ||
env: | ||
VERSION: "${{ env.version }}" | ||
VERSION: ${{ env.version }} | ||
|
||
- name: Rename installer | ||
if: matrix.platform == 'windows' | ||
|
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 |
---|---|---|
|
@@ -26,6 +26,14 @@ jobs: | |
run: | | ||
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Setup protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install latest protoc-gen-go | ||
run: go install github.com/golang/protobuf/protoc-gen-go@latest | ||
|
||
- name: Build | ||
run: LIB_NAME=liblantern.so make lantern | ||
|
||
|
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