Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed May 30, 2024
1 parent a74cd86 commit 614b6ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/://}" \
Expand Down

0 comments on commit 614b6ce

Please sign in to comment.