Skip to content

Commit

Permalink
Workflow for building release files
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvisscher committed Jul 16, 2024
1 parent 0518524 commit ae9dfad
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/check_dev_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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:
Expand Down

0 comments on commit ae9dfad

Please sign in to comment.