88 outputs :
99 pkg : ${{ steps.build.outputs.pkgjson }}
1010 env :
11- PKGX_PANTRY_PATH : ${{github.workspace}}/co
11+ PKGX_PANTRY_PATH : ${{github.workspace}}/co # v1
12+ PKGX_PANTRY_DIR : ${{github.workspace}}/co # v2
1213 strategy :
1314 matrix :
1415 platform :
2122 steps :
2223 - uses : actions/checkout@v4
2324 with :
24- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
25+ path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
2526
26- - uses : pkgxdev/setup@v2
27+ - uses : pkgxdev/setup@v4
2728
2829 - uses : ./co/build
2930 id : build
@@ -51,11 +52,12 @@ jobs:
5152 runs-on : ubuntu-latest
5253 env :
5354 PKGX_PANTRY_PATH : ${{github.workspace}}/co
55+ PKGX_PANTRY_DIR : ${{github.workspace}}/co
5456 steps :
5557 - uses : actions/checkout@v4
5658 with :
57- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
58- - uses : pkgxdev/setup@v2
59+ path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
60+ - uses : pkgxdev/setup@v4
5961 - uses : ./co/download-build-artifact
6062 with :
6163 pkg : ${{ needs.build.outputs.pkg }}
@@ -74,11 +76,12 @@ jobs:
7476 - macos-latest
7577 env :
7678 PKGX_PANTRY_PATH : ${{github.workspace}}/co
79+ PKGX_PANTRY_DIR : ${{github.workspace}}/co
7780 steps :
7881 - uses : actions/checkout@v4
7982 with :
80- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
81- - uses : pkgxdev/setup@v2
83+ path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
84+ - uses : pkgxdev/setup@v4
8285 - uses : ./co/download-build-artifact
8386 with :
8487 pkg : ${{ needs.build.outputs.pkg }}
@@ -97,12 +100,13 @@ jobs:
97100 - linux+x86-64
98101 env :
99102 PKGX_PANTRY_PATH : ${{github.workspace}}/co
103+ PKGX_PANTRY_DIR : ${{github.workspace}}/co
100104 steps :
101105 - uses : actions/checkout@v4
102106 with :
103- path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
107+ path : co # test that things working isn’t just a coincident of PWD == BREKWIT_DIR
104108
105- - uses : pkgxdev/setup@v2
109+ - uses : pkgxdev/setup@v4
106110
107111 - uses : ./co/download-build-artifact
108112 id : dl
@@ -119,21 +123,22 @@ 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
130134
131135 - uses : ./build
132136 id : build
133137 with :
134138 pkg : unavailable.com
135139 env :
136140 PKGX_PANTRY_PATH : ${{github.workspace}}
141+ PKGX_PANTRY_DIR : ${{github.workspace}}
137142
138143 - run : echo ${{steps.build.outputs.noop}}
139144
@@ -143,18 +148,20 @@ jobs:
143148 id :
144149 env :
145150 PKGX_PANTRY_PATH : ${{github.workspace}}
151+ PKGX_PANTRY_DIR : ${{github.workspace}}
146152 runs-on : ubuntu-latest
147153 outputs :
148154 pkgs : ${{ steps.id.outputs.pkgs }}
149155 steps :
150156 - uses : actions/checkout@v4
151- - uses : pkgxdev/setup@v2
157+ - uses : pkgxdev/setup@v4
152158 - uses : ./id
153159 id : id
154160 with :
155161 pkg : stark.com/foo
156162 env :
157163 PKGX_PANTRY_PATH : ${{github.workspace}}
164+ PKGX_PANTRY_DIR : ${{github.workspace}}
158165 - run : test ${{ steps.id.outputs.version }} = 2.3.4
159166 - run : test ${{ steps.id.outputs.version-raw }} = 2.3.4
160167 - run : test -z "${{ steps.id.outputs.version-tag }}"
0 commit comments