diff --git a/.github/workflows/check_dev_update.yml b/.github/workflows/check_dev_update.yml index 2bb9213..ae2f5ed 100644 --- a/.github/workflows/check_dev_update.yml +++ b/.github/workflows/check_dev_update.yml @@ -4,6 +4,9 @@ on: schedule: - cron: '0 0 * * *' # Runs daily at midnight workflow_dispatch: # Allows manual triggering + push: + branches: + - main jobs: check-release: @@ -40,8 +43,11 @@ jobs: runs-on: windows-latest needs: check-release if: ${{ needs.check-release.outputs.current != needs.check-release.outputs.latest }} + env: + CURRENT: ${{ needs.check-release.outputs.current }} + LATEST: ${{ needs.check-release.outputs.latest }} steps: - 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-${{CURRENT}}.txt create-args: --name environment \ No newline at end of file