Skip to content

Commit

Permalink
fixed output verifier and added filename test
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Nov 14, 2024
1 parent 4b65589 commit b7d553e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr-func-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ jobs:
entrypoint: bin/test
upload-key: something-else-${{ github.sha }}

basic-func-filename-test:
runs-on: ubuntu-24.04
steps:
- name: Checkout action code
uses: actions/checkout@v4
- name: Run Pkg Action
uses: ./
with:
entrypoint: bin/test
filename: bob

basic-cross-platform-test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Added `inputs.filename` to customize the name of the output binary

## v5.1.0 - [October 26, 2024](https://github.com/lando/pkg-action/releases/tag/v5.1.0)

* Added `inputs.upload-key` to customize the value of `outputs.artifact-key`
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ runs:
shell: bash
run: |
echo "::group::Internal output information"
echo "arch=steps.pkg-action-internal.outputs.target-arch"
echo "node=steps.pkg-action-internal.outputs.target-node"
echo "os=steps.pkg-action-internal.outputs.target-os"
echo "arch=${{ steps.pkg-action-internal.outputs.target-arch }}"
echo "node=${{ steps.pkg-action-internal.outputs.target-node }}"
echo "os=${{ steps.pkg-action-internal.outputs.target-os }}"
echo "::endgroup::"
echo "::group::Output information"
echo "artifact-key-key=${{ steps.pkg-action.outputs.artifact-key }}"
echo "artifact-key=${{ steps.pkg-action.outputs.artifact-key }}"
echo "file=${{ steps.pkg-action.outputs.file }}"
echo "::endgroup::"
- name: Run native ${{ steps.pkg-action-internal.outputs.target-arch }} pkg command
Expand Down

0 comments on commit b7d553e

Please sign in to comment.