From 223a3b568884eac70b30a0b1a8044aca3ac61577 Mon Sep 17 00:00:00 2001 From: "Arrobo, Gabriel" Date: Mon, 1 Apr 2024 17:49:05 -0700 Subject: [PATCH] Fix issue with env variable (it is not possible to use it) --- .github/workflows/publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fda20ea..220ebf7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,9 +9,6 @@ on: - master workflow_dispatch: -env: - REPO_OWNER: "omec-project" - jobs: validate: runs-on: ubuntu-latest @@ -35,7 +32,7 @@ jobs: # CAUTION: Other actions depend on this name "tag-github" tag-github: runs-on: ubuntu-latest - if: github.repository_owner == env.REPO_OWNER + if: github.repository_owner == 'omec-project' outputs: changed: ${{ steps.version-change.outputs.changed }} version: ${{ steps.version-change.outputs.version }} @@ -119,7 +116,7 @@ jobs: publish: runs-on: ubuntu-latest - if: github.repository_owner == env.REPO_OWNER + if: github.repository_owner == 'omec-project' env: BUILD_OUTPUT_PATH: _build/multiversion/ steps: