Skip to content

Commit d2131cf

Browse files
authored
fix: workflows (#1146)
1 parent 6e5a36c commit d2131cf

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.github/workflows/add-dev-tag.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,24 @@ jobs:
5353
repository: supertokens/supertokens-root
5454
path: ./supertokens-root
5555
ref: feat/java_gradle_upgrade
56-
- uses: actions/checkout@v2
57-
with:
58-
repository: supertokens/supertokens-core
59-
path: ./supertokens-root/supertokens-core
60-
ref: ${{ fromJson(needs.dependency-branches.outputs.branches)['core'] }}
61-
- uses: actions/checkout@v2
62-
with:
63-
repository: supertokens/supertokens-plugin-interface
64-
path: ./supertokens-root/supertokens-plugin-interface
65-
ref: ${{ fromJson(needs.dependency-branches.outputs.branches)['plugin-interface'] }}
66-
- uses: actions/checkout@v2
67-
with:
68-
repository: supertokens/supertokens-postgresql-plugin
69-
path: ./supertokens-root/supertokens-postgresql-plugin
70-
ref: ${{ fromJson(needs.dependency-branches.outputs.branches)['postgresql'] }}
56+
- name: Checkout supertokens-core
57+
run: |
58+
cd supertokens-root
59+
git clone https://${{ secrets.GH_TOKEN }}@github.com/supertokens/supertokens-core.git
60+
cd supertokens-core
61+
git checkout ${{ fromJson(needs.dependency-branches.outputs.branches)['core'] }}
62+
- name: Checkout supertokens-plugin-interface
63+
run: |
64+
cd supertokens-root
65+
git clone https://${{ secrets.GH_TOKEN }}@github.com/supertokens/supertokens-plugin-interface.git
66+
cd supertokens-plugin-interface
67+
git checkout ${{ fromJson(needs.dependency-branches.outputs.branches)['plugin-interface'] }}
68+
- name: Checkout supertokens-postgresql-plugin
69+
run: |
70+
cd supertokens-root
71+
git clone https://${{ secrets.GH_TOKEN }}@github.com/supertokens/supertokens-postgresql-plugin.git
72+
cd supertokens-postgresql-plugin
73+
git checkout ${{ fromJson(needs.dependency-branches.outputs.branches)['postgresql'] }}
7174
- name: Load Modules
7275
run: |
7376
cd supertokens-root
@@ -82,7 +85,7 @@ jobs:
8285
- name: Git config
8386
run: |
8487
git config --global user.name "Supertokens Bot"
85-
git config --global user.email <>"
88+
git config --global user.email "<>"
8689
- name: Add dev tag to plugin interface
8790
if: ${{ github.event.inputs.new-release-for-plugin-interface == 'true' }}
8891
run: |

.github/workflows/dev-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: fountainhead/action-wait-for-check@v1.1.0
3131
with:
3232
token: ${{ secrets.GITHUB_TOKEN }}
33-
checkName: Build and publish Docker image
33+
checkName: Publish Dev Docker Image
3434
ref: ${{ github.sha }}
3535
- name: set tag
3636
id: set_tag

0 commit comments

Comments
 (0)