Skip to content

Commit

Permalink
Added support for new bin_path input (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
eBardX authored Nov 6, 2024
1 parent 05d4f29 commit 65f4024
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ This project adheres to [Semantic Versioning].

## [Unreleased]

## [3.0.0] - 2024-11-06

### Added

- Add support for new `bin_path` input.

## [2.0.0] - 2024-05-01

### Added
Expand All @@ -30,7 +36,8 @@ This project adheres to [Semantic Versioning].

Initial public release.

[Unreleased]: https://github.com/waldoapp/gh-action-upload/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/waldoapp/gh-action-upload/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/waldoapp/gh-action-upload/compare/v2.0.0...v3.0.0
[2.0.0]: https://github.com/waldoapp/gh-action-upload/compare/v1.0.2...v2.0.0
[1.0.2]: https://github.com/waldoapp/gh-action-upload/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/waldoapp/gh-action-upload/compare/v1.0.0...v1.0.1
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ specified as a _secret_ environment variable.
- `is_debug_mode`

If this mode is enabled, additional debug information is printed. (Default:
`false`.)
`false`)

- `bin_path`

The path to install Waldo CLI into for internal use. (Default:
`/usr/local/bin`)

## Outputs

Expand Down Expand Up @@ -74,7 +79,7 @@ steps:
echo "APP_DIR_PATH=${DERIVED_DATA_PATH}/Build/Products/Release-iphonesimulator/YourApp.app" >> "$GITHUB_ENV"
- name: Upload resulting build to Waldo
uses: waldoapp/gh-action-upload@v1
uses: waldoapp/gh-action-upload@v3
with:
build_path: ${{ env.APP_DIR_PATH }}
upload_token: ${{ secrets.WALDO_CI_TOKEN }}
Expand Down
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ inputs:
If this mode is enabled, additional debug information is printed.
required: false
default: false
bin_path:
description: >
The path to install Waldo CLI into for internal use.
required: false
default: /usr/local/bin
outputs:
build_id:
description: >
Expand Down Expand Up @@ -82,9 +87,9 @@ runs:
env:
GITHUB_EVENT_PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
TMP_OUT: ${{ runner.temp }}/upload.out
WALDO_CLI_BIN: /usr/local/bin
WALDO_CLI_BIN: ${{ inputs.bin_path }}
WALDO_WRAPPER_NAME_OVERRIDE: 'Waldo GitHub Action'
WALDO_WRAPPER_VERSION_OVERRIDE: 2.0.0
WALDO_WRAPPER_VERSION_OVERRIDE: 3.0.0
shell: bash
- run: echo "json=$(tail -n 1 "$TMP_OUT")" >> "$GITHUB_OUTPUT"
id: metadata
Expand Down

0 comments on commit 65f4024

Please # to comment.