Skip to content

Commit 2eb07e0

Browse files
committed
fix conidtion
1 parent 97a7b63 commit 2eb07e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ jobs:
7878
release_prod:
7979
runs-on: ubuntu-20.04
8080
needs: [build, zip]
81-
if: ${{ github.ref_name != 'main' }}
81+
if: ${{ github.ref_name == 'main' }}
8282
steps:
8383
- name: Restore cached zip build
8484
uses: actions/cache/restore@v4
8585
with:
8686
path: server.zip
87-
key: ${{env.CACHE_KEY}}-zip
87+
key: zip-build-cache
8888
- name: Release
8989
uses: softprops/action-gh-release@v2
9090
with:

0 commit comments

Comments
 (0)