mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00

* Fix `release-packages` and `release-cli` workflow Fixed #1419 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Use `taiki-e/install-action` for `rsign2` & `rage` in `release-packages.yml` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
12 lines
254 B
Bash
Executable file
12 lines
254 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
rsign generate -f -W -p minisign.pub -s minisign.key
|
|
|
|
set +x
|
|
echo "::add-mask::$(tail -n1 minisign.key)"
|
|
set -x
|
|
|
|
rage --encrypt --recipient "$AGE_KEY_PUBLIC" --output minisign.key.age minisign.key
|
|
rm minisign.key
|