From b24beedfcd2f283e6601a80481bba01d3384a52a Mon Sep 17 00:00:00 2001 From: JanBliznicenko Date: Thu, 20 Jul 2023 12:49:44 +0200 Subject: [PATCH] updated CI workflows --- .github/dependent-repositories.txt | 2 +- .github/scripts/save-stats.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/dependent-repositories.txt b/.github/dependent-repositories.txt index a702702f..91aba071 100644 --- a/.github/dependent-repositories.txt +++ b/.github/dependent-repositories.txt @@ -1,5 +1,5 @@ { "include" : [ - { "repository" : "OpenPonk/plugins", "build-dependent" : true } + { "repository" : "OpenPonk/plugins", "branch" : "master", "build-dependent" : true } ] } diff --git a/.github/scripts/save-stats.sh b/.github/scripts/save-stats.sh index 4b662898..5383e421 100644 --- a/.github/scripts/save-stats.sh +++ b/.github/scripts/save-stats.sh @@ -19,6 +19,11 @@ unzip -q $PROJECT_NAME-$PLATFORM-$VERSION.zip contents := STONJSON fromString: response. + (contents includesKey: #assets) ifFalse: [ self error: 'Previous nightly build not found. + If this is first build of this repository, create pre-release named "nightly" by hand first. + Otherwise, this server response might help you: + ', response asString]. + text := String streamContents: [ :s | s << 'name,created_at,download_count'. s lf.