diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d103e05..39f4020 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI on: - push + - workflow_dispatch jobs: tests: @@ -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 diff --git a/README.md b/README.md index 9d38f68..c15260c 100644 --- a/README.md +++ b/README.md @@ -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