Skip to content

Commit 92d2cb1

Browse files
committed
Revert "CI: Run package job only if Github secrets are available"
This reverts commit 2582843.
1 parent 2582843 commit 92d2cb1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: "Build and package"
22
on:
33
pull_request:
44
push:
5-
6-
env:
7-
SECRETS_ARE_AVAILABLE: ${{ secrets.SECRETS_ARE_AVAILABLE }}
8-
95
jobs:
106
build:
117
strategy:
@@ -71,8 +67,8 @@ jobs:
7167
package:
7268
# this will only work when the jobs above have uploaded
7369
# their stuff to the nix cache, which will only work
74-
# if secrets are available
75-
if: ${{ env.SECRETS_ARE_AVAILABLE }}
70+
# in this repository
71+
if: github.repository == 'entropia/tip-toi-reveng'
7672
runs-on: ubuntu-latest
7773
needs: build
7874
steps:

0 commit comments

Comments
 (0)