|
43 | 43 | with: |
44 | 44 | submodules: recursive |
45 | 45 | ref: ${{ inputs.release-tag || '' }} |
46 | | - - name: Fetch submodule tags |
47 | | - working-directory: compiler |
48 | | - run: git fetch --tags https://github.com/google/closure-compiler.git |
49 | 46 | - name: Get yarn cache directory path |
50 | 47 | run: echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV |
51 | 48 | - name: Yarn and maven cache |
@@ -109,12 +106,6 @@ jobs: |
109 | 106 | distribution: 'graalvm-community' |
110 | 107 | github-token: ${{ secrets.GITHUB_TOKEN }} |
111 | 108 | native-image-job-reports: 'true' |
112 | | - - name: Setup upx |
113 | | - run: | |
114 | | - UPX_VERSION=5.0.0 |
115 | | - curl --fail --show-error --location --remote-name "https://github.com/upx/upx/releases/download/v$UPX_VERSION/upx-$UPX_VERSION-amd64_linux.tar.xz" |
116 | | - tar -xf upx-$UPX_VERSION-amd64_linux.tar.xz |
117 | | - mv ./upx-$UPX_VERSION-amd64_linux/upx /usr/local/bin/upx |
118 | 109 | - name: Download compiler jar |
119 | 110 | uses: actions/download-artifact@v4 |
120 | 111 | with: |
@@ -147,7 +138,6 @@ jobs: |
147 | 138 | run: | |
148 | 139 | cp ../google-closure-compiler-java/compiler.jar compiler.jar |
149 | 140 | yarn run build |
150 | | - upx compiler |
151 | 141 | - name: Tests |
152 | 142 | run: yarn workspaces run test --color |
153 | 143 | - name: Upload artifacts |
@@ -187,12 +177,6 @@ jobs: |
187 | 177 | distribution: 'graalvm-community' |
188 | 178 | github-token: ${{ secrets.GITHUB_TOKEN }} |
189 | 179 | native-image-job-reports: 'true' |
190 | | - - name: Setup upx |
191 | | - run: | |
192 | | - UPX_VERSION=5.0.0 |
193 | | - curl --fail --show-error --location --remote-name "https://github.com/upx/upx/releases/download/v$UPX_VERSION/upx-$UPX_VERSION-arm64_linux.tar.xz" |
194 | | - tar -xf upx-$UPX_VERSION-arm64_linux.tar.xz |
195 | | - mv ./upx-$UPX_VERSION-arm64_linux/upx /usr/local/bin/upx |
196 | 180 | - name: Download compiler jar |
197 | 181 | uses: actions/download-artifact@v4 |
198 | 182 | with: |
@@ -225,7 +209,6 @@ jobs: |
225 | 209 | run: | |
226 | 210 | cp ../google-closure-compiler-java/compiler.jar compiler.jar |
227 | 211 | yarn run build |
228 | | - upx compiler |
229 | 212 | - name: Tests |
230 | 213 | run: yarn workspaces run test --color |
231 | 214 | - name: Upload artifacts |
@@ -263,9 +246,6 @@ jobs: |
263 | 246 | distribution: 'graalvm-community' |
264 | 247 | github-token: ${{ secrets.GITHUB_TOKEN }} |
265 | 248 | native-image-job-reports: 'true' |
266 | | -# # See https://github.com/google/closure-compiler-npm/issues/265 |
267 | | -# - name: Install upx |
268 | | -# run: brew install upx |
269 | 249 | - name: Download compiler jar |
270 | 250 | uses: actions/download-artifact@v4 |
271 | 251 | with: |
@@ -298,7 +278,6 @@ jobs: |
298 | 278 | run: | |
299 | 279 | cp ../google-closure-compiler-java/compiler.jar compiler.jar |
300 | 280 | yarn run build |
301 | | -# upx compiler |
302 | 281 | - name: Tests |
303 | 282 | run: yarn workspaces run test --color |
304 | 283 | - name: Upload artifacts |
|
0 commit comments