Skip to content

Commit

Permalink
Revert latest to nightly, fix publish not having proper name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Oct 13, 2023
1 parent 85ec5d0 commit 208b323
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish (Latest)
name: Publish (Nightly)

on: [push]
on:
schedule:
- cron: "0 0 * * *"

jobs:

Expand All @@ -15,6 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- id: should_run
if: ${{ github.event_name == 'schedule' }}
continue-on-error: true
name: Check for new commits
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "should_run=false" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -55,6 +58,6 @@ jobs:
uses: ./.github/workflows/publish.yaml
with:
version: "${{ needs.versioning.outputs.version }}"
tag: "latest"
tag: "nightly"
prerelease: true
draft: false
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Publish

on:
workflow_call:
inputs:
Expand Down

0 comments on commit 208b323

Please sign in to comment.