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

I can't deploy - Version 3.8.1 was not found in the local cache #56

Open
mateusrc-dev opened this issue Jul 30, 2023 · 1 comment
Open

Comments

@mateusrc-dev
Copy link

mateusrc-dev commented Jul 30, 2023

Error in the image below:

image

My code is the same as suggested:

deploy:
needs: build # Will only run if the test job succeeds
if: github.ref == 'refs/heads/main' # Only run this job if it is on the main branch

runs-on: ubuntu-latest

steps:
  - uses: actions/checkout@v2
    with:
      ref: main # Check out main instead of the latest commit
      fetch-depth: 0 # Checkout the whole branch

  - uses: actions/setup-python@v2
    with:
      python-version: "3.8.1"

  - uses: mhanberg/[email protected]
    with:
      GIGALIXIR_APP: disguised-massive-moorhen
      GIGALIXIR_CLEAN: true # defaults to false
      GIGALIXIR_USERNAME: ${{ secrets.GIGALIXIR_USERNAME }}
      GIGALIXIR_PASSWORD: ${{ secrets.GIGALIXIR_PASSWORD }}
      MIGRATIONS: false # defaults to true
      SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

I'm using Windows 10.

@mateusrc-dev mateusrc-dev changed the title Não consigo fazer o deploy - Version 3.8.1 was not found in the local cache I can't deploy - Version 3.8.1 was not found in the local cache Jul 30, 2023
@LostKobrakai
Copy link

The following pulls in an available patch version for 3.8, which seems to work for me.

- uses: actions/setup-python@v2
  with:
    python-version: '3.8'

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

2 participants