Skip to content

Commit e37636d

Browse files
committed
[Actions] Updated .github/workflows/build-and-publish-pre-release.yml
1 parent b4b2d50 commit e37636d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-publish-pre-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929

3030
runs-on: ubuntu-latest
3131

32+
env:
33+
REPO_STATUS: ${{vars.REPO_VISIBILITY}}
34+
3235
steps:
3336
- name: "Initialise Workspace"
3437
if: startsWith(runner.name, 'buildagent-')
@@ -41,7 +44,8 @@ jobs:
4144
fetch-depth: 0
4245
fetch-tags: true
4346

44-
- name: "Check Repo Visibility"
47+
- if: inputs.REPO_STATUS == ''
48+
name: "Check Repo Visibility"
4549
uses: credfeto/action-repo-visibility@v1.2.0
4650
id: visibility
4751
with:

0 commit comments

Comments
 (0)