From 15a84d7ea444dbbe5c0693192a8bd6b4ce3ff1da Mon Sep 17 00:00:00 2001 From: kalilistic <35899782+kalilistic@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:29:21 -0400 Subject: [PATCH] refactor: change dalamud distrib to env var --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 022396f..dadf00b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Download Dalamud run: | - curl https://goatcorp.github.io/dalamud-distrib/latest.zip --output latest.zip + curl "${{env.DALAMUD_DISTRIB}}" --output latest.zip mkdir -p ~/Dalamud unzip latest.zip -d ~/Dalamud - name: Build @@ -28,4 +28,4 @@ jobs: - name: Pack run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output . - name: Push - run: dotnet nuget push Dalamud.Loc.${VERSION}.nupkg --skip-duplicate --no-symbols --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} \ No newline at end of file + run: dotnet nuget push Dalamud.Loc.${VERSION}.nupkg --skip-duplicate --no-symbols --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}