Skip to content

Commit

Permalink
probable fix for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Jan 11, 2025
1 parent 734f858 commit ef7e122
Showing 1 changed file with 6 additions and 58 deletions.
64 changes: 6 additions & 58 deletions .github/workflows/Build-All-Platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build-All-Platforms
on:
workflow_dispatch:

permissions:
contents: write

jobs:
create_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,7 +53,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12.4"
python-version: "3.12.8"

- name: Run full build script
run: python build.py
Expand All @@ -71,50 +74,6 @@ jobs:
asset_name: TAS_${{ needs.create_release.outputs.version }}_Full_Windows.7z
asset_content_type: application/x-7z-compressed

#build_full_linux:
# needs: create_release
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: "3.12.4"
#
# - name: Free Disk Space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: false
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: true
# swap-storage: true
#
# - name: Run full build script
# run: python build-linux.py
#
# - name: Compress full directory
# run: |
# cd ${{ github.workspace }}/dist-full/main/
# 7z a -t7z -m0=lzma2 -mx=9 -ms=1536m -md=273m ../../TAS_${{ needs.create_release.outputs.version }}_Full_Linux.7z *
#
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.TAS }}
# with:
# upload_url: ${{ needs.create_release.outputs.upload_url }}
# asset_path: TAS_${{ needs.create_release.outputs.version }}_Full_Linux.7z
# asset_name: TAS_${{ needs.create_release.outputs.version }}_Full_Linux.7z
# asset_content_type: application/x-7z-compressed

build_lite_windows:
needs: create_release
runs-on: windows-latest
Expand All @@ -127,7 +86,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12.4"
python-version: "3.12.8"

- name: Run lite build script
run: python build-lite.py
Expand Down Expand Up @@ -160,18 +119,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12.4"

#- name: Free Disk Space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: false
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: true
# swap-storage: true
python-version: "3.12.8"

- name: Run lite build script
run: python build-linux-lite.py
Expand Down

0 comments on commit ef7e122

Please sign in to comment.