From 11b7096fa553a33f9ff9d6fedb50f299fbcf5558 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Thu, 1 Feb 2024 17:28:46 -0500 Subject: [PATCH] try to fix config.sh in CI --- .github/workflows/ant.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 78aa7aa..0dd08e8 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -16,6 +16,21 @@ jobs: with: java-version: '21' distribution: 'temurin' + - name: install wsl + run: wsl --install -d Ubuntu + - name: install makensis dos2unix + run: wsl apt install nsis* dos2unix + - name: change config + run: | + echo '' tee config.sh + echo VERSIONMAJOR=2 tee config.sh + echo VERSIONMINOR=0 tee config.sh + echo VERSIONBUILD=0 tee config.sh + echo I2P_VERSION=2.0.0 tee config.sh + echo export I2P_VERSION=2.0.0 tee config.sh + echo VERSION=master tee config.sh + echo export VERSION=master tee config.sh + echo '' tee config.sh - name: build with script run: bash -c "./buildscripts/exe.sh; ls *.exe" - name: Upload I2P-Easy-Install-Bundle-${{ github.sha }}-unsigned.exe