Skip to content

Commit

Permalink
chore: update global workflows (#2559)
Browse files Browse the repository at this point in the history
  • Loading branch information
LizardByte-bot authored May 24, 2024
1 parent e898be1 commit c204b2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ jobs:

- name: Create/Update GitHub Release
if: ${{ needs.setup_release.outputs.publish_release == 'true' && steps.prepare.outputs.artifacts == 'true' }}
uses: LizardByte/create-release-action@v2024.520.211408
uses: LizardByte/create-release-action@v2024.524.143912
with:
allowUpdates: true
artifacts: "*artifacts/*"
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ name: Release Notifications

on:
release:
types: [published]
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onevent_nametypes
types:
- released # this triggers when a release is published, but does not include prereleases or drafts

jobs:
discord:
if: >-
startsWith(github.repository, 'LizardByte/') &&
not(github.event.release.prerelease) &&
not(github.event.release.draft)
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: discord
Expand All @@ -35,8 +35,8 @@ jobs:
facebook_group:
if: >-
startsWith(github.repository, 'LizardByte/') &&
not(github.event.release.prerelease) &&
not(github.event.release.draft)
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: facebook-post-action
Expand All @@ -52,8 +52,8 @@ jobs:
facebook_page:
if: >-
startsWith(github.repository, 'LizardByte/') &&
not(github.event.release.prerelease) &&
not(github.event.release.draft)
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: facebook-post-action
Expand All @@ -69,8 +69,8 @@ jobs:
reddit:
if: >-
startsWith(github.repository, 'LizardByte/') &&
not(github.event.release.prerelease) &&
not(github.event.release.draft)
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: reddit
Expand All @@ -89,8 +89,8 @@ jobs:
twitter:
if: >-
startsWith(github.repository, 'LizardByte/') &&
not(github.event.release.prerelease) &&
not(github.event.release.draft)
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: twitter
Expand Down

0 comments on commit c204b2c

Please sign in to comment.