Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump reader sdk version to fetch for ios build and update xcodebuild to not code sign example app #119

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

brandonjenniges
Copy link
Member

Fixes to main.yml

@brandonjenniges brandonjenniges force-pushed the brandonjenniges/ci_fix branch 4 times, most recently from b93438f to fd1c3be Compare September 9, 2024 16:17
@brandonjenniges brandonjenniges changed the title Bump reader sdk version to fetch for ios build and update xcodebuild … Bump reader sdk version to fetch for ios build and update xcodebuild to not code sign example app Sep 9, 2024
@brandonjenniges brandonjenniges force-pushed the brandonjenniges/ci_fix branch 11 times, most recently from 0f53dc0 to b6830b9 Compare September 10, 2024 15:44
cd example
flutter pub get
cd ios
ruby <(curl https://connect.squareup.com/readersdk-installer) install --app-id ${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} --repo-password ${{secrets.SQUARE_READER_SDK_REPOSITORY_PASSWORD}} --version 1.6.1 > /dev/null
ruby <(curl https://connect.squareup.com/readersdk-installer) install --app-id ${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} --repo-password ${{secrets.SQUARE_READER_SDK_REPOSITORY_PASSWORD}} --version 1.7.4 > /dev/null

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to define the version as a variable somewhere, similar to ${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you create an env yaml file and use it like this https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#using-the-env-context-to-access-environment-variable-values I'd much rather go that way because the app version isn't technically a secret

Copy link

@tobischw tobischw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. DM'd you a question around where we document this stuff.

@brandonjenniges brandonjenniges merged commit 3582c42 into bump_targetSdk_to_34 Sep 10, 2024
2 checks passed
@brandonjenniges brandonjenniges deleted the brandonjenniges/ci_fix branch September 10, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants