diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c4ce2b..0331745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/README.md b/README.md index b673415..25c2777 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 }} diff --git a/action.yml b/action.yml index 8ab739c..c5c9cb8 100644 --- a/action.yml +++ b/action.yml @@ -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: > @@ -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