Skip to content

Commit

Permalink
Fix pre_release var syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimenpsyonal authored Nov 5, 2023
1 parent db9a7cf commit 6d517c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
GIT_REF: ${{ github.ref_name }}
GIT_REF_TYPE: ${{ github.ref_type }}
GITHUB_ACTION_EVENT_NAME: ${{ github.event_name }}
GITHUB_IS_PRE_RELEASE: ${{ github.event_name == 'release' && github.event.isPrerelease }}
GITHUB_IS_PRE_RELEASE: ${{ github.event_name == 'release' && github.event.release.prerelease }}
run: |
CUR_DATE_TIME=$(date +'%Y-%m-%d')
if [ "$GITHUB_ACTION_EVENT_NAME" == "push" ] && [ "$GIT_REF" == "release" ]
Expand Down Expand Up @@ -89,4 +89,4 @@ jobs:
contentType: "multipart/form-data"
files: '{ "file": "module.rbxm" }'
customHeaders: '{ "upload-secret": "${{ secrets.PUBURL2_SECRET }}" }'
timeout: 10000
timeout: 10000

0 comments on commit 6d517c1

Please sign in to comment.