Skip to content

Commit

Permalink
fix: Don't call env directly when accessing ACT
Browse files Browse the repository at this point in the history
  • Loading branch information
iwishiwasaneagle authored Nov 7, 2023
1 parent 859b3fc commit 519de5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,19 @@ jobs:
if: needs.create-tag.outputs.skip == 'false'
steps:
- name: Checkout
if: !env.ACT
if: ${{ !env.ACT }}
uses: actions/checkout@v4

- name: Download artifacts
if: !env.ACT
if: ${{ !env.ACT }}
id: download
uses: actions/download-artifact@v3
with:
name: main-pdf-release
path: main-pdf-release

- name: Upload the release
if: !env.ACT
if: ${{ !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 519de5a

Please sign in to comment.