Skip to content

Commit

Permalink
fix(ci): correct weekly schedule trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Nov 17, 2024
1 parent 542887c commit 4c301c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-image-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
build-iso-latest:
name: Build Latest ISOs
needs: [build-image-latest]
if: github.event_name.schedule == '40 4 * * 0'
if: github.event.schedule == '40 4 * * 0'

secrets: inherit
uses: ./.github/workflows/build-iso-latest.yml
2 changes: 1 addition & 1 deletion .github/workflows/build-image-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
build-iso-stable:
name: Build Stable ISOs
needs: [build-image-stable]
if: github.event_name.schedule == '45 5 * * 0'
if: github.event.schedule == '45 5 * * 0'
secrets: inherit
uses: ./.github/workflows/build-iso-stable.yml
4 changes: 2 additions & 2 deletions .github/workflows/generate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
id: generate-release-text
shell: bash
run: |
just changelogs "${{ matrix.version }}" "${{ github.event.inputs.handwritten }}"
just changelogs "${{ matrix.version }}" "${{ inputs.handwritten }}"
source ./output.env
echo "title=${TITLE}" >> $GITHUB_OUTPUT
echo "tag=${TAG}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
if: contains(fromJson('["gts", "stable"]'), matrix.version) && (github.event_name.schedule == '45 5 * * 0' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name))
if: contains(fromJson('["gts", "stable"]'), matrix.version) && (github.event.schedule == '45 5 * * 0' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name))
with:
name: ${{ steps.generate-release-text.outputs.title }}
tag_name: ${{ steps.generate-release-text.outputs.tag }}
Expand Down

0 comments on commit 4c301c3

Please sign in to comment.