Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EgoMoose committed Apr 28, 2023
1 parent 55ef55c commit 1e3c455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
files: src/RbxCharacterSounds

- name: Git Auto Commit
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
uses: stefanzweifel/[email protected]
with:
commit_message: (${{ env.VERSION }})
Expand All @@ -59,21 +59,21 @@ jobs:
branch: release

- name: Create release
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
uses: softprops/[email protected]
with:
files: release.rbxm
tag_name: ${{ env.VERSION }}

- name: Wally login
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
shell: pwsh
run: |
mkdir -p $env:USERPROFILE/.wally
echo '${{ secrets.WALLY_PUBLISHING_TOML }}' > $env:USERPROFILE/.wally/auth.toml
- name: Wally publish
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' || github.event_name == 'workflow_dispatch' }}
run: wally publish
timeout-minutes: 5

0 comments on commit 1e3c455

Please sign in to comment.