update: 加个版本号 #93
Workflow file for this run
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: test | |
on: | |
push: | |
paths: | |
- 'Image2Display/**' | |
- '.github/workflows/test.yml' | |
pull_request: | |
paths: | |
- 'Image2Display/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: environment prepare | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https | |
sudo apt-get update | |
sudo apt remove dotnet-sdk-* -y | |
sudo apt remove netstandard-targeting-pack-* -y | |
sudo add-apt-repository ppa:dotnet/backports | |
sudo apt-get update | |
sudo apt-get install -y dotnet-sdk-9.0 | |
- name: test | |
run: | | |
cd Image2Display | |
dotnet test |