This repository has been archived by the owner on May 14, 2024. It is now read-only.
windows action #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jar analyzer build | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: checkout the source | |
uses: actions/checkout@v4 | |
with: | |
path: jar-analyzer | |
- name: set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: install cmake | |
run: | | |
curl -L https://cmake.org/files/v3.28/cmake-3.28.0-rc4-windows-x86_64.zip -o cmake.zip | |
Expand-Archive -LiteralPath cmake.zip -DestinationPath . -Force | |
- name: install ninja | |
run: | | |
curl -L https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip -o ninja.zip | |
Expand-Archive -LiteralPath ninja.zip -DestinationPath . -Force | |
- name: upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifact | |
path: | | |
native/build-windows.zip |