77 runs-on : ${{ matrix.platform.os }}
88 outputs :
99 pkg : ${{ steps.build.outputs.pkgjson }}
10- env :
11- PKGX_PANTRY_PATH : ${{github.workspace}}/co # v1
12- PKGX_PANTRY_DIR : ${{github.workspace}}/co # v2
1310 strategy :
1411 matrix :
1512 platform :
2219 steps :
2320 - uses : actions/checkout@v4
2421 with :
25- path : co # test that things working isn’ t just a coincident of PWD == BREKWIT_DIR
22+ path : co # test that things working isn' t just a coincident of PWD == BREKWIT_DIR
2623
2724 - uses : pkgxdev/setup@v4
25+ - uses : ./co/.github/setup-pantry
26+ with :
27+ path : ${{github.workspace}}/co
2828
2929 - uses : ./co/build
3030 id : build
@@ -50,14 +50,14 @@ jobs:
5050 - darwin+aarch64
5151 - null
5252 runs-on : ubuntu-latest
53- env :
54- PKGX_PANTRY_PATH : ${{github.workspace}}/co
55- PKGX_PANTRY_DIR : ${{github.workspace}}/co
5653 steps :
5754 - uses : actions/checkout@v4
5855 with :
59- path : co # test that things working isn’ t just a coincident of PWD == BREKWIT_DIR
56+ path : co # test that things working isn' t just a coincident of PWD == BREKWIT_DIR
6057 - uses : pkgxdev/setup@v4
58+ - uses : ./co/.github/setup-pantry
59+ with :
60+ path : ${{github.workspace}}/co
6161 - uses : ./co/download-build-artifact
6262 with :
6363 pkg : ${{ needs.build.outputs.pkg }}
@@ -74,14 +74,14 @@ jobs:
7474 os :
7575 - ubuntu-latest
7676 - macos-latest
77- env :
78- PKGX_PANTRY_PATH : ${{github.workspace}}/co
79- PKGX_PANTRY_DIR : ${{github.workspace}}/co
8077 steps :
8178 - uses : actions/checkout@v4
8279 with :
83- path : co # test that things working isn’ t just a coincident of PWD == BREKWIT_DIR
80+ path : co # test that things working isn' t just a coincident of PWD == BREKWIT_DIR
8481 - uses : pkgxdev/setup@v4
82+ - uses : ./co/.github/setup-pantry
83+ with :
84+ path : ${{github.workspace}}/co
8585 - uses : ./co/download-build-artifact
8686 with :
8787 pkg : ${{ needs.build.outputs.pkg }}
@@ -98,15 +98,15 @@ jobs:
9898 platform :
9999 - darwin+aarch64
100100 - linux+x86-64
101- env :
102- PKGX_PANTRY_PATH : ${{github.workspace}}/co
103- PKGX_PANTRY_DIR : ${{github.workspace}}/co
104101 steps :
105102 - uses : actions/checkout@v4
106103 with :
107- path : co # test that things working isn’ t just a coincident of PWD == BREKWIT_DIR
104+ path : co # test that things working isn' t just a coincident of PWD == BREKWIT_DIR
108105
109106 - uses : pkgxdev/setup@v4
107+ - uses : ./co/.github/setup-pantry
108+ with :
109+ path : ${{github.workspace}}/co
110110
111111 - uses : ./co/download-build-artifact
112112 id : dl
@@ -131,37 +131,30 @@ jobs:
131131 steps :
132132 - uses : actions/checkout@v4
133133 - uses : pkgxdev/setup@v4
134+ - uses : ./.github/setup-pantry
134135
135136 - uses : ./build
136137 id : build
137138 with :
138139 pkg : unavailable.com
139- env :
140- PKGX_PANTRY_PATH : ${{github.workspace}}
141- PKGX_PANTRY_DIR : ${{github.workspace}}
142140
143141 - run : echo ${{steps.build.outputs.noop}}
144142
145143 - run : exit 1
146144 if : ${{steps.build.outputs.noop != 'true'}}
147145
148146 id :
149- env :
150- PKGX_PANTRY_PATH : ${{github.workspace}}
151- PKGX_PANTRY_DIR : ${{github.workspace}}
152147 runs-on : ubuntu-latest
153148 outputs :
154149 pkgs : ${{ steps.id.outputs.pkgs }}
155150 steps :
156151 - uses : actions/checkout@v4
157152 - uses : pkgxdev/setup@v4
153+ - uses : ./.github/setup-pantry
158154 - uses : ./id
159155 id : id
160156 with :
161157 pkg : stark.com/foo
162- env :
163- PKGX_PANTRY_PATH : ${{github.workspace}}
164- PKGX_PANTRY_DIR : ${{github.workspace}}
165158 - run : test ${{ steps.id.outputs.version }} = 2.3.4
166159 - run : test ${{ steps.id.outputs.version-raw }} = 2.3.4
167160 - run : test -z "${{ steps.id.outputs.version-tag }}"
0 commit comments