Skip to content

Commit

Permalink
sdfsdfdfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Grutschus committed Dec 19, 2023
1 parent 399a68e commit 5059d1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
with:
token: ${{ secrets.WORKFLOW_TOKEN }}

- uses: octokit/request-action@v2.x
- name: Get lastest version from Github
uses: octokit/request-action@v2.x
id: pdepend_latest_release
with:
route: GET /repos/${{ env.GITHUB_REPO }}/releases/latest
Expand All @@ -45,7 +46,8 @@ jobs:
- name: Download PHAR
if: ${{ env.PDEPEND_LATEST != env.PDEPEND_VERSION_ALPINE }}
run: |
echo "${{ fromJson(steps.pdepend_latest_release.outputs.data) }}" > latest_release.json
echo "${{ steps.pdepend_latest_release.outputs.data }}" > latest_release.json
cat latest_release.json
export PDEPEND_PHAR_DOWNLOAD=$("yq \".assets | select(.name == \\\"pdepend.phar\\\") | select(.browser_download_url)\"" latest_release.json)
curl -v -L "$PDEPEND_PHAR_DOWNLOAD" -o 'pdepend.tar'
echo "PDEPEND_PHAR_HASH=$( sha256sum pdepend.tar | cut -d ' ' -f1 )" >> $GITHUB_ENV
Expand Down

0 comments on commit 5059d1f

Please sign in to comment.