-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
0518524
commit ae9dfad
Showing
1 changed file
with
6 additions
and
5 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 |
---|---|---|
|
@@ -54,8 +54,9 @@ jobs: | |
- name: Install current environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: ab_releases/dev/windows/win-environment-${{needs.check-release.outputs.current}}.txt | ||
# environment-file: ab_releases/dev/windows/win-environment-${{needs.check-release.outputs.current}}.txt | ||
environment-name: environment | ||
create-args: python=3.11 | ||
- name: Update to latest | ||
run: | | ||
micromamba install -n environment -c bsteubing -y activity-browser-dev=${{needs.check-release.outputs.latest}} | ||
|
@@ -80,11 +81,11 @@ jobs: | |
path: ab_releases/dev/windows/win-environment-${{needs.check-release.outputs.latest}}.txt | ||
- name: Create commit | ||
run: | | ||
git checkout -b spec-${{needs.check-release.outputs.latest}} | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Action" | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add ab_releases/dev/windows/win-environment-${{needs.check-release.outputs.latest}}.txt | ||
git commit -a -m "Updated specs to ${{needs.check-release.outputs.latest}}" | ||
git commit -m "Updated specs to ${{needs.check-release.outputs.latest}}" | ||
git push origin spec-${{needs.check-release.outputs.latest}} | ||
- name: Create PR | ||
run: gh pr create -B spec-${{needs.check-release.outputs.latest}} -H main --title 'Updated windows spec' --body 'Created by Github action' | ||
env: | ||
|