diff --git a/.github/workflows/qqwry.yml b/.github/workflows/qqwry.yml index e67b163..57aff05 100644 --- a/.github/workflows/qqwry.yml +++ b/.github/workflows/qqwry.yml @@ -80,13 +80,20 @@ jobs: echo "UPLOAD_URL=$UPLOAD_URL" >> $GITHUB_ENV echo "UPLOAD_URL=$UPLOAD_URL" + - name: Manual upload + run: | + curl \ + -H "Authorization: token ${{ secrets.qqwry }}" \ + -H "Content-Type: application/octet-stream" \ + --data-binary @app/qqwry.dat \ + "${{ env.UPLOAD_URL }}?name=qqwry.dat" - - name: Upload qqwry.dat to repository root - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ env.UPLOAD_URL }} - asset_path: app/qqwry.dat - asset_name: qqwry.dat - asset_content_type: application/octet-stream - token: ${{ secrets.qqwry }} - if: env.TAG_EXISTS == 'true' +# - name: Upload qqwry.dat to repository root +# uses: actions/upload-release-asset@v1 +# with: +# upload_url: ${{ env.UPLOAD_URL }} +# asset_path: app/qqwry.dat +# asset_name: qqwry.dat +# asset_content_type: application/octet-stream +# token: ${{ secrets.qqwry }} +# if: env.TAG_EXISTS == 'true'