Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# TODO hard code, because GitHub Actions only support secrets but not env
env:
CODING_GENERIC_REGISTRY: https://coding-public-generic.pkg.coding.net/public/downloads/


# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
6 changes: 4 additions & 2 deletions coding-generic-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
set -e

if [ "$CODING_GENERIC_REGISTRY" = "" ]; then
echo "WARNING: env CODING_GENERIC_REGISTRY not set, only run download"
elif [ "$CODING_ARTIFACTS_USERNAME" = "" ]; then
echo "WARNING: env CODING_GENERIC_REGISTRY not set, use default value"
CODING_GENERIC_REGISTRY="https://coding-public-generic.pkg.coding.net/public/downloads/"
fi
if [ "$CODING_ARTIFACTS_USERNAME" = "" ]; then
echo "WARNING: env CODING_ARTIFACTS_USERNAME not set, only run check and download"
fi

Expand Down