From d011001a4256f031cc3eb4e8b9278b494dfac209 Mon Sep 17 00:00:00 2001 From: RuteSantos <1160663@isep.ipp.pt> Date: Sun, 24 Sep 2023 18:46:18 +0100 Subject: [PATCH] fix: Unhandled error: ReferenceError: freitas is not defined --- .github/workflows/publish-github.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-github.yaml b/.github/workflows/publish-github.yaml index eefeaf0..fa301e9 100644 --- a/.github/workflows/publish-github.yaml +++ b/.github/workflows/publish-github.yaml @@ -51,8 +51,8 @@ jobs: async function getReleaseId() { try { const response = await github.rest.repos.getLatestRelease({ - owner: ${{ github.repository_owner }}, - repo: ${{ github.event.repository.name }} + owner: '${{ github.repository_owner }}', + repo: '${{ github.event.repository.name }}' }); console.log(`Id of the latest release is ${response.data.id} was found.`);