reduce expression to only tag
All checks were successful
Build / build-docker (push) Successful in 5s
Build / test (push) Successful in 38s
Build / build-apt (push) Has been skipped

This commit is contained in:
Alessio 2025-02-23 18:32:04 -08:00
parent 2d9d513005
commit ce1ae6a278

View File

@ -45,7 +45,13 @@ jobs:
env:
# This could be anything, it's just a temp file
SESSION_FILE_PATH: /tmp/Offline_Twatter.session
if: contains(join(github.event.head_commit.modified, ','), 'cmd/') || contains(join(github.event.head_commit.added, ','), 'cmd/') || contains(join(github.event.head_commit.removed, ','), 'cmd/') contains(join(github.event.head_commit.modified, ','), 'pkg/scraper/') || contains(join(github.event.head_commit.added, ','), 'pkg/scraper/') || contains(join(github.event.head_commit.removed, ','), 'pkg/scraper/') || startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
# contains(join(github.event.head_commit.modified, ','), 'cmd/') ||
# contains(join(github.event.head_commit.added, ','), 'cmd/') ||
# contains(join(github.event.head_commit.removed, ','), 'cmd/')
# contains(join(github.event.head_commit.modified, ','), 'pkg/scraper/') ||
# contains(join(github.event.head_commit.added, ','), 'pkg/scraper/') ||
# contains(join(github.event.head_commit.removed, ','), 'pkg/scraper/') ||
# Write the session file contents to a temp location so it can be used in the tests
run: |
cd cmd