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 f0b3bbc commit 07bc2e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- uses: ./action/package
id: package
with:
name: blank-sinatra-app
target: ${{ matrix.target }}
name: blank-sinatra-app
version: '1.0.0'
path: app
- name: Upload
Expand All @@ -45,8 +45,8 @@ jobs:
- name: Publish
uses: ./action/publish
with:
target: ${{ matrix.target }}
token: ${{ secrets.PUBLISH_TOKEN }}
repository: crohr/blank-sinatra-app
target: ${{ matrix.target }}
branch: master
channel: master
artefact: ${{ steps.package.outputs.package_path }}
6 changes: 3 additions & 3 deletions publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ runs:
org=${GITHUB_REPOSITORY%%/*}
repo=${GITHUB_REPOSITORY##*/}
curl -u "${{ inputs.token }}" -i -X POST https://packagehall.com/api/orgs/${org}/repos/${repo}/packages \
-F "package[artefact]=@${{ inputs.artefact }}" \
-F "package[target]=${TARGET/://}" \
-F "package[channel]=$CHANNEL"
-F "package[artefact]=@${{ inputs.artefact }}" \
-F "package[target]=${TARGET/://}" \
-F "package[channel]=$CHANNEL"

0 comments on commit 07bc2e1

Please sign in to comment.