tespkg / actions-cache

Cache to S3 storage with official actions/cache@v2 fallback
MIT License
75 stars 31 forks source link

πŸ› - Error in actions should fail step #4

Closed whalemare closed 2 years ago

whalemare commented 3 years ago

Describe the bug When step has an error it not crash step.

To Reproduce

  1. Use and run some incorrect config file
    
    on:
    push:
    branches: [main]
    workflow_dispatch:

jobs: ezcache: runs-on: [self-hosted] steps:

After run, workflow is succeed

Expected behavior Workflow failed

Screenshots Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2021-07-10 Π² 12 10 58

jackieli-tes commented 2 years ago

screenshot shows postrun: it will not fail. can you show the "Run ..." part?

jackieli-tes commented 2 years ago

thanks for the screenshot. It's obvious that the endpoint config is incorrect. It needs to be a reachable S3 compatible object storage.

You can test with S3 or minio playground