chore(aqua): update checksum for #422 #357
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: Compile install script with Deno | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
compile: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up envs for ${{ matrix.os }} | |
shell: bash | |
run: | | |
set -x | |
echo "Compiling for ${{ matrix.os }}" | |
if [ ${{ matrix.os }} == "windows-latest" ]; then | |
echo "SRC_PATH=./install_windows.ts" >> $GITHUB_ENV | |
echo "DIST_PATH=./dist/install-${{ matrix.os }}.exe" >> $GITHUB_ENV | |
else | |
echo "SRC_PATH=./install_unix.ts" >> $GITHUB_ENV | |
echo "DIST_PATH=./dist/install-${{ matrix.os }}" >> $GITHUB_ENV | |
fi | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Compile install script for ${{ matrix.os }} | |
run: deno compile --allow-all -o ${{ env.DIST_PATH }} ${{ env.SRC_PATH }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: install-${{ matrix.os }} | |
path: ./dist |