fix: fix get trime nightly build info #45
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag grbl2:$(date +%s) | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.10.7 | |
- name: Install pyinstaller | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
# - name: Install dependencies | |
# run: pip install -r requirements.txt | |
- name: Test running | |
run: | | |
chmod +x ./CI-test.sh | |
./CI-test.sh | |
- name: Upload source code artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: source-code | |
path: . # 上传根目录所有文件 |