Skip to content

Commit

Permalink
dsfdsfd
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Grutschus committed Dec 19, 2023
1 parent 7e987df commit 173b3f6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,12 @@ jobs:
cmd: yq '${{ env.JSONPATH_ALPINE }}.[-1].pdepend' '.github/workflows/docker.yml'

- run: |
echo '${{ steps.pdepend_latest_release.outputs.data }}' > latest_release.json
echo "PDEPEND_LATEST=$(echo '${{ fromJson(steps.pdepend_latest_release.outputs.data).tag_name }}')" >> $GITHUB_ENV
echo "PDEPEND_VERSION_MAJOR=$(echo '${{ fromJson(steps.pdepend_latest_release.outputs.data).tag_name }}' | cut -d '.' -f1)" >> $GITHUB_ENV
echo "PDEPEND_VERSION_MINOR=$(echo '${{ fromJson(steps.pdepend_latest_release.outputs.data).tag_name }}' | cut -d '.' -f1-2)" >> $GITHUB_ENV
echo "PDEPEND_VERSION_ALPINE=${{ steps.get_alpine_latest_version.outputs.result }}" >> $GITHUB_ENV
- name: Output Latest
if: ${{ env.PDEPEND_LATEST != env.PDEPEND_VERSION_ALPINE }}
run: |
echo '${{ steps.pdepend_latest_release.outputs.data }}' > latest_release.json
- name: Get Download URL
id: get_download_url
uses: mikefarah/yq@master
Expand All @@ -56,7 +52,7 @@ jobs:

- name: Download PHAR
run: |
curl -v -L '${{ steps.get_download_url.output.data }}' -o 'pdepend.phar'
curl -v -L '${{ steps.get_download_url.outputs.data }}' -o 'pdepend.phar'
echo "PDEPEND_PHAR_HASH=$( sha256sum pdepend.phar | cut -d ' ' -f1 )" >> $GITHUB_ENV
- run: |
Expand Down

0 comments on commit 173b3f6

Please sign in to comment.