diff --git a/.github/workflows/back-compat-pr.yml b/.github/workflows/back-compat-pr.yml index 3be0730..e8c8c93 100644 --- a/.github/workflows/back-compat-pr.yml +++ b/.github/workflows/back-compat-pr.yml @@ -24,16 +24,20 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: build head - run: go build -o omm_head + run: | + go build -o omm_head + cp omm_head /var/tmp - uses: actions/checkout@v4 with: ref: main - name: build main - run: go build -o omm_main + run: | + go build -o omm_main + cp omm_main /var/tmp - name: Run last version run: | - ./omm_main --db-path=omm-test.db 'test: a task from main' + /var/tmp/omm_main --db-path=omm-test.db 'test: a task from main' - name: Run current version run: | - ./omm_head --db-path=omm-test.db 'test: a task from the current version' - ./omm_head --db-path=omm-test.db tasks + /var/tmp/omm_head --db-path=omm-test.db 'test: a task from PR HEAD' + /var/tmp/omm_head --db-path=omm-test.db tasks