Skip to content

Commit 61452af

Browse files
committed
debug
1 parent f742ecf commit 61452af

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,19 @@ jobs:
8686
prerelease: true
8787
makeLatest: true
8888

89-
- name: Send release to ESOUI
90-
uses: m00nyONE/esoui-upload@v1
89+
- name: Upload Addon to ESOUI
9190
with:
92-
# api_key: ${{ secrets.ESOUI_API_KEY }}
93-
api_key: '123'
91+
api_key: ${{ secrets.ESOUI_API_KEY }}
9492
addon_id: ${{ env.ESOUI_ADDON_ID }}
9593
version: ${{ env.ADDON_VERSION }}
9694
zip_file: ${{ env.ADDON_ZIP_NAME }}
9795
changelog_file: 'CHANGELOG.md'
96+
run: |
97+
set +x
98+
curl --silent --fail -X POST \
99+
-H "x-api-token: ${{ inputs.api_key }}" \
100+
-F "id=${{ inputs.addon_id }}" \
101+
-F "version=${{ inputs.version }}" \
102+
-F "updatefile=@${{ inputs.zip_file }}" \
103+
-F "changelog=$(cat ${{ inputs.changelog_file }})" \
104+
https://api.esoui.com/addons/updatetest

0 commit comments

Comments
 (0)