Giter Club home page Giter Club logo

Comments (8)

marcuspoehls avatar marcuspoehls commented on June 17, 2024 1

@moonso Hey Måns, sorry for this hiccup!

I guess the @v1 suffix must be @v1.1.0. I tagged releases with major.minor.patch versions. Looks like GitHub isn't resolving @v1 to the latest v1-release.

Can you please update your workflow file to match the latest [email protected] version?

    # Set up mongodb
    - name: Start MongoDB
      uses: superchargejs/[email protected]     # <----------- this is the line
      with:
        mongodb-version: ${{ matrix.mongodb-version}}

Thank you for your help!

from mongodb-github-action.

marcuspoehls avatar marcuspoehls commented on June 17, 2024 1

Yeah 🎉
Thank you for your support and patience along the way! 🙏

from mongodb-github-action.

moonso avatar moonso commented on June 17, 2024

Hmm, still does not work. Am I doing something wrong?

1 Current runner version: '2.165.2'
2 Prepare workflow directory
3 Prepare all required actions
4 Download action repository 'actions/checkout@v1'
5 Download action repository 'actions/setup-python@v1'
6 Download action repository 'superchargejs/[email protected]'
7 ##[warning]Failed to download action 'https://api.github.com/repos/superchargejs/mongodb-github-action/tarball/v1.1.0'. Error Response status code does not indicate success: 404 (Not Found).
8 ##[warning]Back off 25.938 seconds before retry.
9 ##[warning]Failed to download action 'https://api.github.com/repos/superchargejs/mongodb-github-action/tarball/v1.1.0'. Error Response status code does not indicate success: 404 (Not Found).
10 ##[warning]Back off 15.689 seconds before retry.
11 ##[error]Response status code does not indicate success: 404 (Not Found).

from mongodb-github-action.

moonso avatar moonso commented on June 17, 2024

This is exactly how the workflow looks like:

name: Build
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest    
    strategy:
      matrix:
        python-version: [3.6]
        mongodb-version: [4.0]
  
    steps:
    
    - name: Git checkout
      uses: actions/checkout@v1
  
    - name: Set up Python ${{ matrix.python-version}}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version}}
    
    # Set up mongodb
    - name: Start MongoDB
      uses: superchargejs/[email protected]
      with:
        mongodb-version: ${{ matrix.mongodb-version}}
    
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        python setup.py install
    
    - name: Test with pytest
      run: |
        py.test -rxs tests/

from mongodb-github-action.

marcuspoehls avatar marcuspoehls commented on June 17, 2024

Ah sorry, I think it's the username. I switched it recently from superchargejs (with JS suffix) to supercharge (without ja suffix). Does it fix the issue by changing the name?

from mongodb-github-action.

moonso avatar moonso commented on June 17, 2024
Failed to download action 'https://api.github.com/repos/supercharge/mongodb-github-action/tarball/v1.1.0'. Error Response status code does not indicate success: 404 (Not Found).

from mongodb-github-action.

marcuspoehls avatar marcuspoehls commented on June 17, 2024

@moonso Hey Måns, I was looking through the GitHub Action Workflow for the Supercharge framework. The difference I can see is the v in @v1.1.0 between your config and the one from the framework.

Looks like the config must be like this:

    # Set up mongodb
    - name: Start MongoDB
      uses: supercharge/[email protected]   # <----------- this line
      with:
        mongodb-version: ${{ matrix.mongodb-version}}

Here's the workflow file for the Supercharge framework: https://github.com/supercharge/framework/blob/master/.github/workflows/run-tests.yml

from mongodb-github-action.

moonso avatar moonso commented on June 17, 2024

Yay that made it work 🍾 !

from mongodb-github-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.