Skip to content

Commit

Permalink
ci fix;
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddli committed Mar 27, 2023
1 parent b841bd2 commit 9c993ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- dev
env:
NODE_VERSION: "18.14.0"
HAPPYPANDAX_TOKEN: ${{ secrets.HAPPYPANDAX_TOKEN }}

defaults:
run:
Expand Down Expand Up @@ -143,6 +144,7 @@ jobs:

- name: Set release name
run: |
echo "HPX_VERSION=$(node -p "require('./packages/client/package.json').version")" >> $GITHUB_ENV
echo "RELEASE_NAME=happypandax_client-$(node -p "require('./packages/client/package.json').version")-${{ matrix.os }}" >> $GITHUB_ENV
- name: Archive release
run: |
Expand All @@ -156,11 +158,12 @@ jobs:
- name: Publish
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ env.HAPPYPANDAX_TOKEN }}
with:
file: "**/*.zip;**/*.tar.gz"
target_owner: twiddli
target_repo: happypandax
tag_name: client-v${{ env.HPX_VERSION }}
# target_owner: twiddli
# target_repo: happypandax
draft: true
overwrite: true
prerelease: true

0 comments on commit 9c993ec

Please sign in to comment.