Skip to content

Commit 4953050

Browse files
committed
ktorbase-example build always use master to init from ktorbase repo
1 parent c16ed75 commit 4953050

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ktorbase-example.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ jobs:
3131

3232
- name: Initialize
3333
run: >
34-
BRANCH=${GITHUB_REF#refs/heads/};
35-
curl -O -s "https://raw.githubusercontent.com/linked-planet/ktorbase/$BRANCH/init.sh";
36-
sh ./init.sh /tmp com.linked-planet ktor-example "$BRANCH";
34+
curl -O -s "https://raw.githubusercontent.com/linked-planet/ktorbase/master/init.sh";
35+
sh ./init.sh /tmp com.linked-planet ktor-example "master";
3736
echo "Creating temporary repository with initial version ...";
3837
cd /tmp/com.linked-planet.ktor-example;
3938
git init;
@@ -44,9 +43,8 @@ jobs:
4443
4544
- name: Update
4645
run: >
47-
BRANCH=${GITHUB_REF#refs/heads/};
48-
curl -O -s "https://raw.githubusercontent.com/linked-planet/ktorbase/$BRANCH/update.sh";
49-
sh ./update.sh /tmp/com.linked-planet.ktor-example com.linked-planet ktor-example "$BRANCH";
46+
curl -O -s "https://raw.githubusercontent.com/linked-planet/ktorbase/master/update.sh";
47+
sh ./update.sh /tmp/com.linked-planet.ktor-example com.linked-planet ktor-example "master";
5048
echo "Comparing updated version with initial version ...";
5149
cd /tmp/com.linked-planet.ktor-example;
5250
git add .;

0 commit comments

Comments
 (0)