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

V1 #5

Merged
merged 3 commits into from
Dec 28, 2023
Merged

V1 #5

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
- push
- workflow_dispatch

jobs:
tests:
Expand All @@ -19,11 +20,11 @@ jobs:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
connection-string: mongodb://root:root@database:27017
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dump-mongo${{ matrix.mongo-version }}
path: ${{ github.workspace }}/dump
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
backup:
runs-on: ubuntu-latest
steps:
- uses: gabrielrufino/mongodump-action
- uses: gabrielrufino/mongodump-action@v1
with:
connection-string: ${{ secrets.MONGO_URI }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dump
path: ${{ github.workspace }}/dump
Expand Down