Skip to content

Commit

Permalink
💚 Fix github action about windows
Browse files Browse the repository at this point in the history
Remove pre-commit in github action
  • Loading branch information
Freed-Wu committed Mar 16, 2023
1 parent a8aed28 commit 41fe26c
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ jobs:
id: vim
with:
neovim: ${{ matrix.neovim }}
- name: Install dependencies for Linux
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install shfmt
- name: Install dependencies for macOS
if: runner.os == 'macOS'
run: |
brew update
brew install shellcheck shfmt
- name: Install dependencies
run: |
pip install -e '.[dev]'
Expand All @@ -75,7 +65,7 @@ jobs:
runs-on:
- ubuntu-latest
- macos-latest
# - windows-latest
- windows-latest
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
Expand All @@ -90,13 +80,13 @@ jobs:
run: |
python -m build
- uses: actions/upload-artifact@v3
if: runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
path: |
dist/*
build/resources/*
- uses: softprops/action-gh-release@v1
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: build/CHANGELOG.md
files: |
Expand Down

0 comments on commit 41fe26c

Please sign in to comment.