Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Nov 2, 2022
1 parent bedc916 commit e41c2a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Get Latest Version from npm
id: latestrelease
run: echo "::set-output name=releasever::$(npm view MetaMask/snaps-skunkworks version --workspaces=false)"
run: echo "releasever=$(npm view MetaMask/snaps-skunkworks version --workspaces=false)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v3
with:
repository: MetaMask/snaps-skunkworks
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
RELEASE_PACKAGES=("${PUBLIC_PACKAGES[@]}" "${PRIVATE_PACKAGE[@]}")
IFS="," RELEASE_PACKAGES_FORMATTED="${RELEASE_PACKAGES[*]}"
echo "::set-output name=RELEASE_PACKAGES::$(echo "$RELEASE_PACKAGES_FORMATTED")"
echo "RELEASE_PACKAGES=$RELEASE_PACKAGES_FORMATTED" >> "$GITHUB_OUTPUT"
- name: Modify + Get RELEASE_PACKAGES lengths
id: modify-get-release-packages
run: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Get modified RELEASE_PACKAGES lengths
id: get-modified-updated-packages-length
run: |
echo "::set-output name=length::$(echo '${{ steps.modify-get-release-packages.outputs.RELEASE_PACKAGES }}' | jq '.packages | length')"
echo "length=$(echo '${{ steps.modify-get-release-packages.outputs.RELEASE_PACKAGES }}' | jq '.packages | length')" >> "$GITHUB_OUTPUT"
- name: Verify modified RELEASE_PACKAGES lengths
run: |
if [[ ${{ steps.get-modified-updated-packages-length.outputs.length }} -ne 3 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/get-release-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ fi
RELEASE_PACKAGES="$toPublish}}"

# echo "$RELEASE_PACKAGES"
echo "::set-output name=RELEASE_PACKAGES::$RELEASE_PACKAGES"
run: echo "RELEASE_PACKAGES=$RELEASE_PACKAGES" >> "$GITHUB_OUTPUT"

0 comments on commit e41c2a0

Please sign in to comment.