Fix scheduled test runs fail after #523 was merged #524

This commit is contained in:
Michael Stenta 2022-04-18 15:45:31 -04:00
parent 2abe0c5537
commit 65ace22777
1 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set default FARMOS_REPO.
run: echo "FARMOS_REPO=${GITHUB_REPOSITORY}" >> $GITHUB_ENV
- name: Set default FARMOS_REPO and FARMOS_VERSION.
run: |
echo "FARMOS_REPO=${GITHUB_REPOSITORY}" >> $GITHUB_ENV
echo "FARMOS_VERSION=2.x" >> $GITHUB_ENV
- name: Set FARMOS_VERSION for branch push event.
if: github.event_name == 'push' && github.ref_type == 'branch'
run: echo "FARMOS_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV