From 95a4b2215098734f69ec598b5c627788e4de0979 Mon Sep 17 00:00:00 2001 From: Justus Dieckmann <45795270+justusdieckmann@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:36:29 +0200 Subject: [PATCH] Shell escape release workflow for realsies this time (#208) --- .github/workflows/moodle-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" \