77 runs-on : ${{ matrix.platform.os }}
88 outputs :
99 pkg : ${{ steps.build.outputs.pkgjson }}
10- env :
11- PKGX_PANTRY_PATH : ${{github.workspace}}/co
1210 strategy :
1311 matrix :
1412 platform :
2119 steps :
2220 - uses : actions/checkout@v4
2321 with :
24- 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
2523
26- - uses : pkgxdev/setup@v2
24+ - uses : pkgxdev/setup@v4
25+ - uses : ./co/.github/setup-pantry
26+ with :
27+ path : ${{github.workspace}}/co
2728
2829 - uses : ./co/build
2930 id : build
@@ -49,13 +50,14 @@ jobs:
4950 - darwin+aarch64
5051 - null
5152 runs-on : ubuntu-latest
52- env :
53- PKGX_PANTRY_PATH : ${{github.workspace}}/co
5453 steps :
5554 - uses : actions/checkout@v4
5655 with :
57- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
58- - uses : pkgxdev/setup@v2
56+ path : co # test that things working isn't just a coincident of PWD == BREKWIT_DIR
57+ - uses : pkgxdev/setup@v4
58+ - uses : ./co/.github/setup-pantry
59+ with :
60+ path : ${{github.workspace}}/co
5961 - uses : ./co/download-build-artifact
6062 with :
6163 pkg : ${{ needs.build.outputs.pkg }}
@@ -72,13 +74,14 @@ jobs:
7274 os :
7375 - ubuntu-latest
7476 - macos-latest
75- env :
76- PKGX_PANTRY_PATH : ${{github.workspace}}/co
7777 steps :
7878 - uses : actions/checkout@v4
7979 with :
80- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
81- - uses : pkgxdev/setup@v2
80+ path : co # test that things working isn't just a coincident of PWD == BREKWIT_DIR
81+ - uses : pkgxdev/setup@v4
82+ - uses : ./co/.github/setup-pantry
83+ with :
84+ path : ${{github.workspace}}/co
8285 - uses : ./co/download-build-artifact
8386 with :
8487 pkg : ${{ needs.build.outputs.pkg }}
@@ -95,14 +98,15 @@ jobs:
9598 platform :
9699 - darwin+aarch64
97100 - linux+x86-64
98- env :
99- PKGX_PANTRY_PATH : ${{github.workspace}}/co
100101 steps :
101102 - uses : actions/checkout@v4
102103 with :
103- 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
104105
105- - uses : pkgxdev/setup@v2
106+ - uses : pkgxdev/setup@v4
107+ - uses : ./co/.github/setup-pantry
108+ with :
109+ path : ${{github.workspace}}/co
106110
107111 - uses : ./co/download-build-artifact
108112 id : dl
@@ -119,42 +123,38 @@ jobs:
119123
120124 - uses : actions/upload-artifact@v4
121125 with :
122- path : ${{ steps.bottle.outputs.filename }}
123- name : ${{ steps.bottle.outputs.name }}
126+ path : ${{ steps.bottle.outputs.filename }}
127+ name : ${{ steps.bottle.outputs.name }}
124128
125129 unavailable :
126130 runs-on : ubuntu-latest
127131 steps :
128132 - uses : actions/checkout@v4
129- - uses : pkgxdev/setup@v2
133+ - uses : pkgxdev/setup@v4
134+ - uses : ./.github/setup-pantry
130135
131136 - uses : ./build
132137 id : build
133138 with :
134139 pkg : unavailable.com
135- env :
136- PKGX_PANTRY_PATH : ${{github.workspace}}
137140
138141 - run : echo ${{steps.build.outputs.noop}}
139142
140143 - run : exit 1
141144 if : ${{steps.build.outputs.noop != 'true'}}
142145
143146 id :
144- env :
145- PKGX_PANTRY_PATH : ${{github.workspace}}
146147 runs-on : ubuntu-latest
147148 outputs :
148149 pkgs : ${{ steps.id.outputs.pkgs }}
149150 steps :
150151 - uses : actions/checkout@v4
151- - uses : pkgxdev/setup@v2
152+ - uses : pkgxdev/setup@v4
153+ - uses : ./.github/setup-pantry
152154 - uses : ./id
153155 id : id
154156 with :
155157 pkg : stark.com/foo
156- env :
157- PKGX_PANTRY_PATH : ${{github.workspace}}
158158 - run : test ${{ steps.id.outputs.version }} = 2.3.4
159159 - run : test ${{ steps.id.outputs.version-raw }} = 2.3.4
160160 - run : test -z "${{ steps.id.outputs.version-tag }}"
0 commit comments