File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,19 @@ jobs:
110
110
- scenario : on ubuntu
111
111
runs-on : ubuntu-24.04
112
112
os : linux
113
+ experimental : false
113
114
- scenario : on macos
114
115
runs-on : macos-14
115
116
os : darwin
117
+ experimental : false
118
+ - scenario : on ubuntu (experimental)
119
+ runs-on : ubuntu-24.04
120
+ os : linux
121
+ experimental : true
122
+ - scenario : on macos (experimental)
123
+ runs-on : macos-14
124
+ os : darwin
125
+ experimental : true
116
126
name : installer test ${{ matrix.scenario }}
117
127
runs-on : ${{ matrix.runs-on }}
118
128
steps :
@@ -124,11 +134,22 @@ jobs:
124
134
path : out
125
135
- name : Looking up the installer tarball URL
126
136
id : installer-tarball-url
127
- run : echo "installer-url=file://$GITHUB_WORKSPACE/out" >> "$GITHUB_OUTPUT"
137
+ run : |
138
+ echo "installer-url=file://$GITHUB_WORKSPACE/out" >> "$GITHUB_OUTPUT"
139
+ TARBALL_PATH="$(find "$GITHUB_WORKSPACE/out" -name 'nix*.tar.xz' -print | head -n 1)"
140
+ echo "tarball-path=file://$TARBALL_PATH" >> "$GITHUB_OUTPUT"
128
141
- uses : cachix/install-nix-action@v31
142
+ if : ${{ !matrix.experimental }}
129
143
with :
130
144
install_url : ${{ format('{0}/install', steps.installer-tarball-url.outputs.installer-url) }}
131
145
install_options : ${{ format('--tarball-url-prefix {0}', steps.installer-tarball-url.outputs.installer-url) }}
146
+ - uses : ./.github/actions/install-nix-action
147
+ if : ${{ matrix.experimental }}
148
+ with :
149
+ dogfood : false
150
+ experimental-installer : true
151
+ tarball_url : ${{ steps.installer-tarball-url.outputs.tarball-path }}
152
+ github_token : ${{ secrets.GITHUB_TOKEN }}
132
153
- run : sudo apt install fish zsh
133
154
if : matrix.os == 'linux'
134
155
- run : brew install fish
You can’t perform that action at this time.
0 commit comments