From 614b6cebb1b883da9e69546fd4aeb2c079d90f5e Mon Sep 17 00:00:00 2001 From: Cyril Rohr Date: Thu, 30 May 2024 18:00:30 +0000 Subject: [PATCH] fix --- publish/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/publish/action.yml b/publish/action.yml index 78c080d..a0f3957 100644 --- a/publish/action.yml +++ b/publish/action.yml @@ -31,14 +31,14 @@ runs: id: upload shell: bash env: - GITHUB_REPOSITORY: ${{ inputs.repository }} + REPO_FULL_NAME: ${{ inputs.repository }} TARGET: ${{ inputs.target }} CHANNEL: ${{ inputs.channel }} run: | - org="${GITHUB_REPOSITORY%%/*}" - repo="${GITHUB_REPOSITORY##*/}" + org="${REPO_FULL_NAME%%/*}" + repo="${REPO_FULL_NAME##*/}" url="https://dl.packager.io/api/orgs/${org}/repos/${repo}/packages" - echo "${url}" + echo "Pushing to ${url}..." curl -u "${{ inputs.token }}" -i -X POST "${url}" \ -F "artefact=@${{ inputs.artefact }}" \ -F "targets[]=${TARGET/://}" \