Skip to content

Commit

Permalink
Fix input addPubCacheBinToPath
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishikesh-kadam committed Dec 22, 2021
1 parent 0290f5e commit a194668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.1] - 2021-12-23
### Fixed
- Input addPubCacheBinToPath

## [1.1.0] - 2021-12-22
### Added
- Inputs setFlutterRootPath, setPubCachePath and addPubCacheBinToPath.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:

- name: Add PUB_CACHE bin to PATH
if: inputs.addPubCacheBinToPath == 'true'
run: ./src/add-pub-cache-bin-to-path.sh
run: $GITHUB_ACTION_PATH/src/add-pub-cache-bin-to-path.sh
shell: bash

- run: flutter --version
Expand Down
2 changes: 1 addition & 1 deletion src/add-pub-cache-bin-to-path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ else
fi

echo "::debug::Adding $PUB_CACHE_BIN to \$GITHUB_PATH"
echo "$PUB_CACHE_BIN" >> $GITHUB_PATH
echo "$PUB_CACHE_BIN" >> "$GITHUB_PATH"

0 comments on commit a194668

Please sign in to comment.