Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
remove windows TWT

`<regex.h>` not in windows ~
  • Loading branch information
CheapNightbot authored Nov 15, 2024
1 parent 366e16e commit 1170ed1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest] # Removed windows-latest

steps:
- name: Checkout Code
Expand All @@ -24,8 +24,6 @@ jobs:
sudo apt-get install -y gcc make
elif [ ${{ matrix.os }} == 'macos-latest' ]; then
brew install gcc make
elif [ ${{ matrix.os }} == 'windows-latest' ]; then
choco install mingw
fi
shell: bash

Expand Down Expand Up @@ -61,9 +59,6 @@ jobs:
elif [ ${{ matrix.os }} == 'macos-latest' ]; then
FILENAME="calc-macos-x86_64-${BUILD_DATE}.zip"
zip -r $FILENAME build/calc
elif [ ${{ matrix.os }} == 'windows-latest' ]; then
FILENAME="calc-win-x86_64-${BUILD_DATE}.zip"
zip -r $FILENAME build/calc.exe
fi
# Upload the binary zip file to the release
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
Expand Down

0 comments on commit 1170ed1

Please sign in to comment.