Skip to content

Commit

Permalink
fix: 修复job.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
h3ll0www0rld committed May 4, 2024
1 parent e63476d commit e3b2a82
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
# This is the version of the action for setting up Python, not the Python version.
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.11'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
# You can test your matrix by printing the current Python version
- name: Run Build Script
run: ./scripts/build.ps1
- name: Upload Artifact
Expand All @@ -28,16 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
# This is the version of the action for setting up Python, not the Python version.
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.11'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
# You can test your matrix by printing the current Python version
- name: Run Build Script
run: ./scripts/build.sh
run: chmod +x ./scripts/build.sh && ./scripts/build.sh
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -48,16 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
# This is the version of the action for setting up Python, not the Python version.
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.11'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
# You can test your matrix by printing the current Python version
- name: Run Build Script
run: ./scripts/build.sh
run: chmod +x ./scripts/build.sh && ./scripts/build.sh
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit e3b2a82

Please sign in to comment.