Skip to content

Commit

Permalink
🔧 Trying to get check to work
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed May 2, 2024
1 parent abd6873 commit e86799d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,18 @@ on:
workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.nightly-check.outputs.changes }}
steps:
- id: nightly-check
name: Check for changes since last nightly
uses: lukecarr/[email protected]

docker:
if: github.repository_owner == 'McPringle' && needs.check.outputs.changes == 'true'
if: github.repository_owner == 'McPringle'
runs-on: ubuntu-latest
name: Docker Nightly
needs: check

steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Check for changes
continue-on-error: true
shell: bash
run: 'test -n "$(git reflog main --since="24 hours")"'
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit e86799d

Please sign in to comment.