Skip to content

Commit

Permalink
fix: ci: maybe make body bit simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
Panakotta00 committed Nov 6, 2024
1 parent 1341d7e commit 756c9ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-to-smr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
core.setFailed('Found Release is a draft!');
return;
}
core.setOutput('body', btoa(release.body.replaceAll("*", "*")));
core.setOutput('body', release.body.replaceAll("*", "*"));
core.setOutput('name', release.name);
- name: Download FicsIt-Networks Version
Expand All @@ -62,9 +62,8 @@ jobs:
- name: Upload to SMR
if: ${{inputs.should_upload}}
env:
BODY_ENCODED: ${{steps.find-release.outputs.body}}
BODY: ${{steps.find-release.outputs.body}}
run: |
BODY=$(echo "$BODY_ENCODED" | base64 --decode)
ficsit ${{ inputs.dev_run && '--api-base https://api.ficsit.dev' || '' }} --api-key "${{ inputs.dev_run && secrets.SMR_API_KEY_DEV || secrets.SMR_API_KEY }}" smr upload ${{ inputs.dev_run && '27CoRS8wTsW1wD' || '8d8gk4imvFanRs'}} FicsItNetworks.zip "$BODY"
- name: Wait for Approval
Expand Down

0 comments on commit 756c9ff

Please sign in to comment.