yeslayla / butler-publish-itchio-action

GitHub action that publishes releases to Itch.io using Butler
https://github.com/josephbmanley/butler-publish-itchio-action
GNU General Public License v3.0
113 stars 21 forks source link

Stuck on "Build josephbmanley/butler-publish-itchio-action@master" #6

Open EpicPuppy613 opened 3 years ago

EpicPuppy613 commented 3 years ago

GithubActions has been getting stuck on this step whenever it tries to run the workflow, would you know any reason why?

Workflow File Below

name: Build

on:
  push:
    branches: [ main ]

jobs:
  build-win:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v1
    - name: Set up Python 3.9
      uses: actions/setup-python@v1
      with:
        python-version: 3.9
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install pyinstaller
        pip install pygame
    - name: Build Game
      run: |
        pyinstaller game/game.py --onedir --clean -n win --distpath dist --noconfirm --windowed
    - name: Copy Files
      run: |
        copy game/icon32x32.png dist/win
        copy game/font.ttf dist/win
        copy game/title.ttf dist/win
    - name: Upload Build
      uses: actions/upload-artifact@v2
      with:
        name: windows-build
        path: dist/*
  build-mac:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v1
    - name: Set up Python 3.9
      uses: actions/setup-python@v1
      with:
        python-version: 3.9
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install pyinstaller
        pip install pygame
    - name: Build Game
      run: |
        pyinstaller game/game.py --onedir --clean -n mac --distpath dist --noconfirm --windowed
    - name: Copy Files
      run: |
        cp game/icon32x32.png dist/mac
        cp game/font.ttf dist/mac
        cp game/title.ttf dist/mac
    - name: Upload Build
      uses: actions/upload-artifact@v2
      with:
        name: macos-build
        path: dist/*
  push:
    needs: [build-win,build-mac]
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Download Build
      uses: actions/download-artifact@v2
      with:
        name: windows-build,mac-build
    - name: Push Windows Build
      uses: josephbmanley/butler-publish-itchio-action@master
      env:
        BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
        CHANNEL: windows
        ITCH_GAME: red-rectangle
        ITCH_USER: EpicPuppy613
        PACKAGE: win
    - name: Push Mac Build
      uses: josephbmanley/butler-publish-itchio-action@master
      env:
        BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
        CHANNEL: mac
        ITCH_GAME: red-rectangle
        ITCH_USER: EpicPuppy613
        PACKAGE: mac

Edit: It doesn't get stuck, but it can take up to 10 minutes to build

EpicPuppy613 commented 3 years ago

the console isn't giving me anything either