Skip to content

Commit

Permalink
Revert CI to 3693ac7
Browse files Browse the repository at this point in the history
actions@v4 seems like more trouble than it's worth to set up right now
  • Loading branch information
Vhou-Atroph committed May 8, 2024
1 parent a8e8fd3 commit c2bcadf
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
robocopy "./src/tt_damage_calculator/assets" "./dist/assets" /s; if ($lastexitcode -lt 8) { $global:LASTEXITCODE = $null }
copy "./LICENSE" "./dist"
- name: Upload .exe
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: win64-executable
path: dist
Expand All @@ -60,11 +60,10 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload Wheel
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
merge-multiple: true

linux-wheel:
runs-on: ubuntu-latest
Expand All @@ -86,11 +85,10 @@ jobs:
pip install maturin
maturin build --release --out dist --find-interpreter
- name: Upload Wheel
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
merge-multiple: true

macos-exe:
runs-on: macos-latest
Expand All @@ -114,7 +112,7 @@ jobs:
cp -R ./src/tt_damage_calculator/assets ./dist/assets
cp -R ./LICENSE ./dist
- name: Upload executable
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: mac64-executable
path: dist
Expand All @@ -139,11 +137,10 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload Wheel
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
merge-multiple: true

sdist:
runs-on: ubuntu-latest
Expand All @@ -159,11 +156,10 @@ jobs:
pip install maturin
maturin build --release --sdist --out dist
- name: Upload Source Distribution
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
merge-multiple: true

release:
name: Release
Expand All @@ -180,4 +176,4 @@ jobs:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing *
args: --non-interactive --skip-existing *

0 comments on commit c2bcadf

Please sign in to comment.