Skip to content

Commit

Permalink
ci: cond channel
Browse files Browse the repository at this point in the history
  • Loading branch information
rxchard committed Dec 11, 2024
1 parent dee0937 commit 4b95c75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Publish

on:
workflow_dispatch:
push:
branches: [ master ]

jobs:

Expand All @@ -11,11 +13,10 @@ jobs:
env:
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
HANGAR_ID: ${{ secrets.HANGAR_ID }}
HANGAR_PUB_CHANNEL: ${{ secrets.HANGAR_PUB_CHANNEL }}
HANGAR_PLATFORM_VERSIONS: ${{ secrets.HANGAR_PLATFORM_VERSIONS }}
HANGAR_PUB_CHANNEL: ${{ github.event_name == 'push' && 'Preview' || 'Release' }}

steps:

- uses: actions/checkout@v4

- uses: actions/setup-java@v4
Expand Down

0 comments on commit 4b95c75

Please sign in to comment.