diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml index a618be8b..1e0fa321 100644 --- a/.github/workflows/moodle-release.yml +++ b/.github/workflows/moodle-release.yml @@ -28,10 +28,11 @@ jobs: steps: - name: Call the service function id: add-version + env: + TAGNAME: ${{ github.event.release.tag_name }} + BODY: ${{ github.event.release.body }} + ZIPURL: ${{ github.event.release.zipball_url }} run: | - TAGNAME="${{ github.event.release.tag_name }}" - BODY="${{ github.event.release.body }}" - ZIPURL="${{ github.event.release.zipball_url }}" RESPONSE=$(${CURL} ${ENDPOINT} --data-urlencode "wstoken=${TOKEN}" \ --data-urlencode "wsfunction=${FUNCTION}" \ --data-urlencode "moodlewsrestformat=json" \