Merge pull request 'ci/gitea-actions/macos-runner' (#33) from ci/gitea-actions/macos-runner into main
Reviewed-on: Loverde-Company-LTDA/Pedi-Foods-Skip#33
This commit is contained in:
@@ -24,9 +24,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
|
export GIT_TERMINAL_PROMPT=0
|
||||||
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
||||||
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
||||||
git clone "$AUTH_URL" .
|
git -c http.lowSpeedLimit=1000 -c http.lowSpeedTime=30 clone "$AUTH_URL" .
|
||||||
git checkout "${{ gitea.sha }}"
|
git checkout "${{ gitea.sha }}"
|
||||||
|
|
||||||
- name: Set build number
|
- name: Set build number
|
||||||
|
|||||||
@@ -24,9 +24,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
|
export GIT_TERMINAL_PROMPT=0
|
||||||
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
||||||
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
||||||
git clone "$AUTH_URL" .
|
git -c http.lowSpeedLimit=1000 -c http.lowSpeedTime=30 clone "$AUTH_URL" .
|
||||||
git checkout "${{ gitea.sha }}"
|
git checkout "${{ gitea.sha }}"
|
||||||
|
|
||||||
- name: Verify ASC secrets
|
- name: Verify ASC secrets
|
||||||
|
|||||||
@@ -19,9 +19,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
|
export GIT_TERMINAL_PROMPT=0
|
||||||
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
REPO_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
|
||||||
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
AUTH_URL="$(echo "$REPO_URL" | sed "s#https://#https://x-access-token:${{ gitea.token }}@#")"
|
||||||
git clone "$AUTH_URL" .
|
git -c http.lowSpeedLimit=1000 -c http.lowSpeedTime=30 clone "$AUTH_URL" .
|
||||||
git checkout "${{ gitea.sha }}"
|
git checkout "${{ gitea.sha }}"
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ lane :assemble do |options|
|
|||||||
sdk: "iphoneos",
|
sdk: "iphoneos",
|
||||||
export_method: ENV["BITRISE_DISTRIBUTION_METHOD"] || "app-store",
|
export_method: ENV["BITRISE_DISTRIBUTION_METHOD"] || "app-store",
|
||||||
xcconfig: "fastlane/AppStore.xcconfig",
|
xcconfig: "fastlane/AppStore.xcconfig",
|
||||||
xcargs: "-skipPackagePluginValidation -skipMacroValidation",
|
xcargs: "-skipPackagePluginValidation -skipMacroValidation CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=\"Apple Distribution\" PROVISIONING_PROFILE_SPECIFIER=\"com.br.pedifoods.app AppStore\"",
|
||||||
derived_data_path: "../.build/Darwin/DerivedData",
|
derived_data_path: "../.build/Darwin/DerivedData",
|
||||||
output_directory: "../.build/fastlane/Darwin",
|
output_directory: "../.build/fastlane/Darwin",
|
||||||
skip_archive: ENV["FASTLANE_SKIP_ARCHIVE"] == "YES",
|
skip_archive: ENV["FASTLANE_SKIP_ARCHIVE"] == "YES",
|
||||||
|
|||||||
Reference in New Issue
Block a user