Skip to content

Commit

Permalink
Merge pull request #5 from gabrielrufino/v1
Browse files Browse the repository at this point in the history
V1
  • Loading branch information
gabrielrufino committed Dec 28, 2023
2 parents 27d46f3 + 0a7cb1b commit db2aed3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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

0 comments on commit db2aed3

Please sign in to comment.