test
This commit is contained in:
parent
a7a1d265fd
commit
cab2d755a7
|
@ -19,16 +19,15 @@ jobs:
|
|||
- name: Get access token from secret
|
||||
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
|
||||
- name: Restore cached target
|
||||
id: cache-primes-restore
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
target/
|
||||
key: ${{ runner.os }}-primes
|
||||
key: ${{ runner.os }}-target
|
||||
- run: ls
|
||||
- name: Run tests on docker
|
||||
run: docker compose down -v && docker compose run bot t
|
||||
- name: Save target
|
||||
id: cache-primes-save
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
|
|
|
@ -43,12 +43,11 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
- name: Restore cached target
|
||||
id: cache-primes-restore
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
target/
|
||||
key: ${{ runner.os }}-primes
|
||||
key: ${{ runner.os }}-target
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
@ -58,7 +57,6 @@ jobs:
|
|||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: Save target
|
||||
id: cache-primes-save
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
|
|
Loading…
Reference in New Issue