Skip to content

Commit

Permalink
Fix issue with env variable (it is not possible to use it)
Browse files Browse the repository at this point in the history
  • Loading branch information
gab-arrobo committed Apr 2, 2024
1 parent 392abd4 commit 223a3b5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
- master
workflow_dispatch:

env:
REPO_OWNER: "omec-project"

jobs:
validate:
runs-on: ubuntu-latest
Expand All @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 223a3b5

Please sign in to comment.