-
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.
- Loading branch information
1 parent
c47ccee
commit f3d2d2e
Showing
4 changed files
with
7 additions
and
8 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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
|
||
- name: Granting private modules access | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Setup Sentry CLI | ||
uses: mathieu-bour/setup-sentry-cli@v1 | ||
|
@@ -106,7 +106,7 @@ jobs: | |
app_url=$(echo $response | jq -r .app_url) | ||
echo "$app_url" | ||
echo "BROWSERSTACK_APP_ID=$app_url" >> $GITHUB_ENV | ||
# Upload iOS app | ||
response_ios=$(curl -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \ | ||
-X POST "https://api-cloud.browserstack.com/app-automate/upload" \ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
go-version: 1.19 | ||
- name: Granting private modules access | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Run Unit tests | ||
run: | | ||
go test -failfast -coverprofile=profile.cov ./... | ||
|
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 |
---|---|---|
|
@@ -81,7 +81,7 @@ jobs: | |
|
||
- name: Granting private modules access | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Setup Sentry CLI | ||
uses: mathieu-bour/setup-sentry-cli@v1 | ||
|
@@ -100,7 +100,7 @@ jobs: | |
- name: Setup protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
repo-token: ${{ secrets.GH_TOKEN }} | ||
repo-token: ${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }} | ||
|
||
- name: Activate protoc-gen-dart plugin | ||
run: | | ||
|
@@ -208,7 +208,7 @@ jobs: | |
releaseFiles: lantern-installer.aab | ||
track: production | ||
- name: Grant private modules access | ||
run: git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
run: git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Clone binaries repo | ||
run: git clone --depth 1 https://github.com/getlantern/lantern-binaries | ||
- name: Rename builds | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
steps: | ||
- name: Granting private modules access | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- uses: actions/checkout@v3 | ||
- name: "Pull new translations" | ||
env: | ||
|
@@ -28,4 +28,3 @@ jobs: | |
git config user.email [email protected] | ||
git ls-files --modified assets/locales android/app/src/main/res | xargs git add | ||
git diff --cached --exit-code || git commit -m "updated translations..." && git push origin main | ||