mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
update: fix
This commit is contained in:
7
.github/workflows/bump-ttymer.yml
vendored
7
.github/workflows/bump-ttymer.yml
vendored
@@ -26,17 +26,18 @@ jobs:
|
|||||||
id: release
|
id: release
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
const { data: release } = await github.rest.repos.getLatestRelease({
|
const release = await github.rest.repos.getLatestRelease({
|
||||||
owner: 'darwincereska',
|
owner: 'darwincereska',
|
||||||
repo: 'ttymer'
|
repo: 'ttymer'
|
||||||
})
|
})
|
||||||
return release
|
return release.data.tarball_url
|
||||||
|
|
||||||
- name: Calculate SHA256 of tarball
|
- name: Calculate SHA256 of tarball
|
||||||
id: sha256
|
id: sha256
|
||||||
run: |
|
run: |
|
||||||
curl -L -o release.tar.gz ${{ steps.release.outputs.data.tarball_url }}
|
curl -L -o release.tar.gz ${{ steps.release.outputs.results }}
|
||||||
sha256sum release.tar.gz | awk '{ print $1 }' > sha256.txt
|
sha256sum release.tar.gz | awk '{ print $1 }' > sha256.txt
|
||||||
echo "::set-output name=hash::$(cat sha256.txt)"
|
echo "::set-output name=hash::$(cat sha256.txt)"
|
||||||
|
|
||||||
|
|||||||
7
.github/workflows/bump-xswitcher.yml
vendored
7
.github/workflows/bump-xswitcher.yml
vendored
@@ -26,17 +26,18 @@ jobs:
|
|||||||
id: release
|
id: release
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
const { data: release } = await github.rest.repos.getLatestRelease({
|
const release = await github.rest.repos.getLatestRelease({
|
||||||
owner: 'darwincereska',
|
owner: 'darwincereska',
|
||||||
repo: 'xswitcher'
|
repo: 'xswitcher'
|
||||||
})
|
})
|
||||||
return release
|
return release.data.tarball_url
|
||||||
|
|
||||||
- name: Calculate SHA256 of tarball
|
- name: Calculate SHA256 of tarball
|
||||||
id: sha256
|
id: sha256
|
||||||
run: |
|
run: |
|
||||||
curl -L -o release.tar.gz ${{ steps.release.outputs.data.tarball_url }}
|
curl -L -o release.tar.gz ${{ steps.release.outputs.result }}
|
||||||
sha256sum release.tar.gz | awk '{ print $1 }' > sha256.txt
|
sha256sum release.tar.gz | awk '{ print $1 }' > sha256.txt
|
||||||
echo "::set-output name=hash::$(cat sha256.txt)"
|
echo "::set-output name=hash::$(cat sha256.txt)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user