-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated version_bump.yml files to use composite GitHub Actions (#98)
* updated pre_release_version_bump.yml file * debug * fixed syntax in yml * another typo in yml * Update .github/workflows/pre_release_version_bump.yml * update post release yml, remove version bump logic * update tag number on base action
- Loading branch information
Showing
4 changed files
with
11 additions
and
236 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -12,21 +12,12 @@ jobs: | |
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
- name: Run post-release version bump | ||
uses: PennyLaneAI/automation/[email protected] | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pennylane | ||
- name: Run version bump | ||
run: > | ||
python .github/workflows/vb_script.py | ||
--version_path "./pennylane_sf/_version.py" | ||
--changelog_path "./.github/CHANGELOG.md" --post_release | ||
version_path: "./pennylane_sf/_version.py" | ||
changelog_path: "./.github/CHANGELOG.md" | ||
release_status: "post_release" | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
|
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 |
---|---|---|
|
@@ -10,22 +10,13 @@ jobs: | |
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pennylane | ||
|
||
- name: Run version bump | ||
run: > | ||
python .github/workflows/vb_script.py | ||
--version_path "./pennylane_sf/_version.py" | ||
--changelog_path "./.github/CHANGELOG.md" --pre_release | ||
- name: Run pre-release version bump | ||
uses: PennyLaneAI/automation/[email protected] | ||
with: | ||
version_path: "./pennylane_sf/_version.py" | ||
changelog_path: "./.github/CHANGELOG.md" | ||
release_status: "pre_release" | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
|
This file was deleted.
Oops, something went wrong.