Comments (8)
@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.
Yeah 🎉
Thank you for your support and patience along the way! 🙏
from mongodb-github-action.
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.
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.
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.
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.
@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.
Yay that made it work 🍾 !
from mongodb-github-action.
Related Issues (20)
- Would you be interested in a Windows version? HOT 2
- MongoDB 6.0 contains breaking changes that make the setup action fail HOT 3
- [BUG] Action does not fail in case of missing image HOT 13
- How can i add/implement health check using this approach? HOT 1
- `mongo` and `mongosh` disappeared? HOT 15
- How can I Restore Dump from external location HOT 3
- mongoimport command not found HOT 2
- Reaching Docker Hub limit HOT 6
- Cannot connect to mongodb from Springboot HOT 2
- Add action typing HOT 4
- Mongodb tools HOT 1
- Please update v1 tag to point to newest version HOT 2
- single-instance can complete before ready to accept connections HOT 1
- How do I bind to all available interfaces? HOT 2
- tags and releases HOT 2
- MongoServerError: Authentication failed. HOT 3
- Authentication failed. HOT 2
- Error: docker: command not found
- toomanyrequests: You have reached your pull rate limit. HOT 1
- Can we use any mongodb version before 3.4.0 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-github-action.