From a1bd322716d7ed76f84c81b4e1882c7093be1d64 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Sat, 14 May 2022 18:53:52 +0300 Subject: [PATCH] attempt #3 to fix version file. --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce481e7d..8570edbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,11 @@ jobs: php: [ 8.1 ] steps: - uses: actions/checkout@v2 + - name: Update Version File + uses: ArabCoders/write-version-to-file@master + with: + filename: '${RUNNER_WORKSPACE}/.version' + placeholder: '${VERSION}' - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -52,7 +57,7 @@ jobs: - name: Update Version File uses: ArabCoders/write-version-to-file@master with: - filename: '/home/runner/work/watchstate/watchstate/.version' + filename: '${RUNNER_WORKSPACE}/.version' placeholder: '${VERSION}' - name: Docker meta id: meta