Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed May 30, 2024
1 parent 38215ce commit b5a8d71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/publish-to-jamsocket/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ runs:
shell: bash
run: |
JAMSOCKET_API_TOKEN=${{ inputs.JAMSOCKET_API_TOKEN }}
echo "JAMCR_USER=${JAMSOCKET_API_TOKEN%\.*}" >> $GITHUB_ENV
JAMCR_USER="${JAMSOCKET_API_TOKEN%%.*}"
echo "JAMCR_USER=$JAMCR_USER" >> $GITHUB_ENV
- name: Set JAMCR_PASS from token
shell: bash
run: |
JAMSOCKET_API_TOKEN=${{ inputs.JAMSOCKET_API_TOKEN }}
echo "JAMCR_PASS=${JAMSOCKET_API_TOKEN#*\.}" >> $GITHUB_ENV
JAMCR_PASS="${JAMSOCKET_API_TOKEN#*.}"
echo "JAMCR_PASS=$JAMCR_PASS" >> $GITHUB_ENV
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit b5a8d71

Please sign in to comment.