Skip to content

Commit

Permalink
Merge pull request #768 from Shopify/2024-10-auto-generated
Browse files Browse the repository at this point in the history
Update Schema to `2024-10` Release
  • Loading branch information
cocoahero authored Oct 28, 2024
2 parents 8344577 + 230cd78 commit 44e094d
Show file tree
Hide file tree
Showing 6 changed files with 6,348 additions and 2,683 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ jobs:
echo "API_VERSION=$API_VERSION" >> $GITHUB_ENV
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true

- name: Install Ruby
uses: ruby/setup-ruby@v1

- name: Install JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: 8
distribution: temurin
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

Expand All @@ -51,7 +52,7 @@ jobs:
git commit -m "Update schema (auto-generated)"
git push --set-upstream --force origin "$API_VERSION-auto-generated"
- uses: actions/github-script@0.9.0
- uses: actions/github-script@v7
with:
script: |
const today = new Date();
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true

- name: Install Ruby
uses: ruby/setup-ruby@v1

- name: Install JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: 8
distribution: temurin

- name: Publish Package
working-directory: ./MobileBuy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Create Draft Release
uses: actions/github-script@0.9.0
uses: actions/github-script@v7
with:
script: |
const today = new Date();
const yyyy = today.getFullYear();
const mm = String(today.getMonth() + 1).padStart(2, '0');
const api_version = yyyy + '-' + mm;
const notes = `Updates the Mobile Buy SDK for Android with support for the \`${api_version}\` version of the Shopify Storefront API.\n\nFor more details about the changes, please see the [release notes](https://shopify.dev/api/release-notes/${api_version}#graphql-storefront-api-changes).`
github.repos.createRelease({
github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
name: `X.X.X [${api_version}]`,
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
echo "API_VERSION=$API_VERSION" >> $GITHUB_ENV
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true

- name: Install Ruby
uses: ruby/setup-ruby@v1

- name: Install JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: 8
distribution: temurin
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

Expand Down
2 changes: 1 addition & 1 deletion MobileBuy/buy3/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=18.0.0
VERSION_NAME=18.1.0

POM_ARTIFACT_ID=buy3
POM_GROUP_ID=com.shopify.mobilebuysdk
Expand Down
Loading

0 comments on commit 44e094d

Please sign in to comment.