Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
EpicPuppy613 opened this issue Jul 13, 2021 · 1 comment

Comments

@EpicPuppy613
Copy link

EpicPuppy613 commented Jul 13, 2021

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
Copy link
Author

the console isn't giving me anything either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant