diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a0d1bde..9629fcb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -45,11 +45,14 @@ jobs: env: # This could be anything, it's just a temp file SESSION_FILE_PATH: /tmp/Offline_Twatter.session - 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/') || + 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