From 7197766be90077350e7298432d86d0909c78aba1 Mon Sep 17 00:00:00 2001 From: Steven Kuhn Date: Wed, 7 Sep 2022 18:25:30 -0500 Subject: [PATCH] Replace env variable with github context variable --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90de6fc..186d1d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,7 @@ jobs: - name: Create release env: GitHub_Access_Token: ${{ secrets.GITHUB_TOKEN }} - GitHub_Repository: ${{ env.GITHUB_REPOSITORY }} + GitHub_Repository: ${{ github.repository }} run: ./build.sh --target PublishToGitHub --skip PublishArtifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90fd0df..dd3363f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Download release assets uses: Itsblue/download-release-assets-action@master with: - repo: ${{ env.GITHUB_REPOSITORY }} + repo: ${{ github.repository }} version: ${{ github.event.release.id }} file: "Sknet.*" path: ./artifacts