@@ -45,81 +45,81 @@ jobs:
4545
4646 - run : rm -rf ~/.gradle/gradle.properties
4747
48- update_readme :
49- runs-on : ubuntu-latest
50-
51- needs : [release_tag]
52- if : startsWith( github.ref, 'refs/tags/')
53-
54- steps :
55- - name : Checkout
56- uses : actions/checkout@v3
57- with :
58- ref : main
59-
60- - name : Retrieve branch name
61- id : branch_name
62- run : |
63- echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
64- echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
65- echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
66-
67- - run : ./gradlew -Pversion=$SOURCE_TAG writeVersionToReadme setVersion nextMinorVersion snapshotVersion
68- env :
69- SOURCE_TAG : ${{ steps.branch_name.outputs.SOURCE_TAG }}
70-
71- - run : ./gradlew writeVersionToExamples
72-
73- - uses : stefanzweifel/git-auto-commit-action@v4
74- with :
75- commit_message : " TASK: Updating version in README"
76- commit_user_name : automation-commercetools
77- commit_user_email :
[email protected] 78- commit_author :
Auto Mation <[email protected] > 79-
80- docs :
81- name : Build and release docs
82-
83- runs-on : ubuntu-latest
84- needs : [release_tag]
85- if : startsWith( github.ref, 'refs/tags/')
86- steps :
87- - name : Checkout
88- uses : actions/checkout@v3
89- with :
90- path : sdk
91-
92- - name : Checkout
93- uses : actions/checkout@v3
94- with :
95- path : doc
96- ref : gh-pages
97-
98- - name : Setup Java
99- uses : actions/setup-java@v3
100- with :
101- distribution : ' temurin'
102- java-version : ' 16'
103-
104- - name : Setup Graphviz
105- uses : ts-graphviz/setup-graphviz@v1
106-
107- - name : Retrieve branch name
108- id : branch_name
109- run : |
110- echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
111- echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
112- echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
113-
114- - run : ./gradlew -Pversion=$SOURCE_TAG alljavadoc
115- working-directory : sdk
116-
117- - run : rm -rf doc/javadoc && mv sdk/build/docs/javadoc doc
118-
119- - uses : stefanzweifel/git-auto-commit-action@v4
120- with :
121- repository : doc
122- commit_message : " Update javadoc"
123- commit_user_name : automation-commercetools
124- commit_user_email :
[email protected] 125- commit_author :
Auto Mation <[email protected] > 48+ # update_readme:
49+ # runs-on: ubuntu-latest
50+ #
51+ # needs: [release_tag]
52+ # if: startsWith( github.ref, 'refs/tags/')
53+ #
54+ # steps:
55+ # - name: Checkout
56+ # uses: actions/checkout@v3
57+ # with:
58+ # ref: main
59+ #
60+ # - name: Retrieve branch name
61+ # id: branch_name
62+ # run: |
63+ # echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
64+ # echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
65+ # echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
66+ #
67+ # - run: ./gradlew -Pversion=$SOURCE_TAG writeVersionToReadme setVersion nextMinorVersion snapshotVersion
68+ # env:
69+ # SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
70+ #
71+ # - run: ./gradlew writeVersionToExamples
72+ #
73+ # - uses: stefanzweifel/git-auto-commit-action@v4
74+ # with:
75+ # commit_message: "TASK: Updating version in README"
76+ # commit_user_name: automation-commercetools
77+ # commit_user_email: [email protected] 78+ # commit_author: Auto Mation <[email protected] >79+ #
80+ # docs:
81+ # name: Build and release docs
82+ #
83+ # runs-on: ubuntu-latest
84+ # needs: [release_tag]
85+ # if: startsWith( github.ref, 'refs/tags/')
86+ # steps:
87+ # - name: Checkout
88+ # uses: actions/checkout@v3
89+ # with:
90+ # path: sdk
91+ #
92+ # - name: Checkout
93+ # uses: actions/checkout@v3
94+ # with:
95+ # path: doc
96+ # ref: gh-pages
97+ #
98+ # - name: Setup Java
99+ # uses: actions/setup-java@v3
100+ # with:
101+ # distribution: 'temurin'
102+ # java-version: '16'
103+ #
104+ # - name: Setup Graphviz
105+ # uses: ts-graphviz/setup-graphviz@v1
106+ #
107+ # - name: Retrieve branch name
108+ # id: branch_name
109+ # run: |
110+ # echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
111+ # echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
112+ # echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
113+ #
114+ # - run: ./gradlew -Pversion=$SOURCE_TAG alljavadoc
115+ # working-directory: sdk
116+ #
117+ # - run: rm -rf doc/javadoc && mv sdk/build/docs/javadoc doc
118+ #
119+ # - uses: stefanzweifel/git-auto-commit-action@v4
120+ # with:
121+ # repository: doc
122+ # commit_message: "Update javadoc"
123+ # commit_user_name: automation-commercetools
124+ # commit_user_email: [email protected] 125+ # commit_author: Auto Mation <[email protected] >
0 commit comments