forked from openwallet-foundation/acapy-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: jamshale <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ jobs: | |
checks: | ||
name: "Check global version" | ||
runs-on: ubuntu-latest | ||
outputs: | ||
current_available_version: ${{ steps.current_available_version.outputs.version }} | ||
current_global_version: ${{ steps.current_global_version.outputs.version }} | ||
defaults: | ||
run: | ||
working-directory: ./plugin_globals | ||
|
@@ -22,6 +25,10 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install poetry | ||
run: pipx install poetry | ||
id: setup-poetry | ||
|
||
- name: Get latest aries-cloudagent version | ||
id: current_available_version | ||
|
@@ -35,4 +42,15 @@ jobs: | |
run: | | ||
lock_version=$(grep -A1 'name = "aries-cloudagent"' poetry.lock | grep -v 'name = "aries-cloudagent"') | ||
version=$(grep -oP '(?<=").*?(?=")' <<< "$lock_version") | ||
echo "Global version = $version" | ||
echo "Global version = $version" | ||
- name: Update global acapy version | ||
run: | | ||
python repo_manager.py | ||
read 3 | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: Upgrade on aca-py release | ||
committer: Peter Evans <[email protected]> | ||
branch: test-upgrade |
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