Skip to content

Commit 42ed2e9

Browse files
authored
Fix issue with env variable (it is not possible to use it) (#21)
1 parent 392abd4 commit 42ed2e9

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
- master
1010
workflow_dispatch:
1111

12-
env:
13-
REPO_OWNER: "omec-project"
14-
1512
jobs:
1613
validate:
1714
runs-on: ubuntu-latest
@@ -35,7 +32,7 @@ jobs:
3532
# CAUTION: Other actions depend on this name "tag-github"
3633
tag-github:
3734
runs-on: ubuntu-latest
38-
if: github.repository_owner == env.REPO_OWNER
35+
if: github.repository_owner == 'omec-project'
3936
outputs:
4037
changed: ${{ steps.version-change.outputs.changed }}
4138
version: ${{ steps.version-change.outputs.version }}
@@ -119,7 +116,7 @@ jobs:
119116
120117
publish:
121118
runs-on: ubuntu-latest
122-
if: github.repository_owner == env.REPO_OWNER
119+
if: github.repository_owner == 'omec-project'
123120
env:
124121
BUILD_OUTPUT_PATH: _build/multiversion/
125122
steps:

0 commit comments

Comments
 (0)