Skip to content

Commit

Permalink
Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Nov 25, 2024
1 parent ad0e13d commit 5b0594c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: GitHub Release Publisher
name: Publish Release

on:
push:
branches:
- main
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -38,6 +41,7 @@ env:
jobs:
build:
runs-on: windows-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
outputs: # For accessing them from 'release' job
app-version: ${{ steps.get-version.outputs.version }}
IS_PRE_RELEASE: ${{ env.IS_PRE_RELEASE }}
Expand Down Expand Up @@ -116,6 +120,7 @@ jobs:
release:
needs: build
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
env:
# Read some variables from the 'build' job
Expand Down

0 comments on commit 5b0594c

Please sign in to comment.