diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e04aa71..6f30ffb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -24,6 +24,8 @@ jobs: run: | git clone --recursive https://github.com/darthcloud/BlueRetro.git ${{ github.workspace }} cd ${{ github.workspace }} + GITHUB_REPO="darthcloud/BlueRetro" + GITHUB_VERSION=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/releases/latest" | jq -r .tag_name) echo "BLUERETRO_VERSION=${GITHUB_VERSION}" >> $GITEA_ENV echo ${BLUERETRO_VERSION}