Skip to content

Commit

Permalink
workflow: Checksum/gpg generation action requires a linux runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 committed Feb 16, 2022
1 parent dbd2c4c commit 6aa6ecb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
mv "${f_name}" "livepeer-${f_name}"
if [ "$platform" == "windows" ]
then
zip -9 "../releases/livepeer-${f_name/.exe/}-windows-${arch}.zip" "livepeer-${f_name}"
zip -q9 "../releases/livepeer-${f_name/.exe/}-windows-${arch}.zip" "livepeer-${f_name}"
else
tar -czf "../releases/livepeer-${f_name}-${platform}-${arch}.tar.gz" "livepeer-${f_name}"
fi
Expand All @@ -108,6 +108,27 @@ jobs:
done
done
- name: Upload artifacts for processing further in linux
uses: actions/upload-artifact@master
with:
name: release-artifacts
path: releases/

release:
runs-on: ubuntu-latest
needs: build
steps:
- name: checkout
uses: actions/checkout@master
with:
fetch-depth: 0

- name: Download artifacts from build stage
uses: actions/download-artifact@master
with:
name: release-artifacts
path: releases/

- name: Generate sha256 checksum and gpg signatures for release artifacts
uses: livepeer/action-gh-checksum-and-gpg-sign@latest
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ release:
git tag -a v$(version) -m "Release v$(version)"
git push origin v$(version)

echo -n "Release mist-api-connector? [y] "
@echo "Release mist-api-connector? [y] "
@read ans && [ $${ans:-y} = y ] || { echo "Mapic release aborted, branch not fast-forwarded."; exit 1 ; }

git checkout mapic-release
Expand Down

0 comments on commit 6aa6ecb

Please sign in to comment.