fix: 去掉版本验证 #22
This file contains hidden or 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: AlmaLinux Installation Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'script/install.sh' | |
| - '.github/workflows/almaLinux_install.yml' | |
| - '.github/scripts/run_in_almalinux.sh' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'script/install.sh' | |
| - '.github/workflows/almaLinux_install.yml' | |
| - '.github/scripts/run_in_almalinux.sh' | |
| workflow_dispatch: | |
| jobs: | |
| test-install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Make helper script executable | |
| run: chmod +x .github/scripts/run_in_almalinux.sh | |
| - name: Run test in AlmaLinux container | |
| run: | | |
| docker run --rm \ | |
| -v "$PWD":"/repo" \ | |
| -w "/repo" \ | |
| almalinux:latest \ | |
| bash .github/scripts/run_in_almalinux.sh |