Skip to content

Commit

Permalink
update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Nov 24, 2023
1 parent 3552f85 commit 0abc40f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ jobs:
GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
if [[ ${GIT_BRANCH} == "main" ]]; then
echo "PUBLISH_CHANNEL=default" >> "$GITHUB_ENV"
echo "PUBLISH_EAP=0" >> "$GITHUB_ENV"
else
echo "PUBLISH_CHANNEL=eap" >> "$GITHUB_ENV"
echo "PUBLISH_EAP=1" >> "$GITHUB_ENV"
fi
echo "GIT_BRANCH=${GIT_BRANCH}" >> "$GITHUB_ENV"
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
Expand Down Expand Up @@ -124,7 +127,7 @@ jobs:
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
PUBLISH_CHANNEL: ${{ env.PUBLISH_CHANNEL }}
PUBLISH_EAP: 1
PUBLISH_EAP: 0 #${{ env.PUBLISH_EAP }}
CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
Expand Down

0 comments on commit 0abc40f

Please sign in to comment.