File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 runs-on : ubuntu-latest
11-
1211 steps :
13- # Repository
1412 - name : Checkout the code
1513 uses : actions/checkout@v4
1614
@@ -19,11 +17,11 @@ jobs:
1917
2018 # Build
2119 - name : Build
22- run : |
23- pixi run build
20+ run : pixi run build
2421
2522 # Upload
2623 - name : Upload
24+ if : ${{ github.ref == 'refs/heads/main' && github.repository == 'Auto-Mech/mechtools'}}
2725 run : |
2826 pixi run upload
2927 env :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ build-pac99 = "cd PAC99 && pixi build"
1010build-thermp = " cd ThermP && pixi build"
1111build-projrot = " cd ProjRot && pixi build"
1212build = { depends-on = [" build-pac99" , " build-thermp" , " build-projrot" ] }
13- upload = " pixi run rattler-build upload anaconda -o avcopan */*.conda"
13+ upload = " pixi run rattler-build upload anaconda -o Auto-Mech */*.conda"
1414
1515[dependencies ]
1616rattler-build = " >=0.47.0,<0.48"
You can’t perform that action at this time.
0 commit comments