-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
name: Parallel Release | ||
on: | ||
workflow_call: | ||
secrets: | ||
GPG_SIGNING_KEY: | ||
required: true | ||
GH_TOKEN: | ||
required: true | ||
|
||
jobs: | ||
prepare-release: | ||
|
@@ -63,6 +68,7 @@ jobs: | |
# git add --all | ||
# git commit -m "Prepare release ${{ steps.get-version.outputs.release-version }}" | ||
# git push origin "${{ github.event.pull_request.head.ref || github.ref_name }}" | ||
|
||
# TODO we should use some Action-specific bot account | ||
- name: Configure git for publishing release | ||
run: | | ||
|
@@ -71,12 +77,12 @@ jobs: | |
git config --global user.email '[email protected]' | ||
git config --global commit.gpgsign true | ||
echo "GPG_SIGNING_KEY length: ${#GPG_SIGNING_KEY}" | ||
# echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import | ||
# if [ $? -ne 0 ]; then | ||
# echo "GPG key import failed" | ||
# exit 1 | ||
# fi | ||
# git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 | ||
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import | ||
if [ $? -ne 0 ]; then | ||
echo "GPG key import failed" | ||
exit 1 | ||
fi | ||
git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 | ||
- name: Update version and build templates | ||
run: | | ||
|