From c9e5da9321adb011288d105748743872eae3d499 Mon Sep 17 00:00:00 2001 From: dogukanoksuz Date: Mon, 19 Feb 2024 05:29:21 +0000 Subject: [PATCH] revert: Workflows --- .github/workflows/main.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27a29762..c4140c3b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,10 +6,9 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Getting Main Liman Repository - uses: actions/checkout@v4 + uses: actions/checkout@v2 with: path: package/liman/server - - name: Set up Liman Environment uses: shivammathur/setup-php@v2 with: @@ -19,11 +18,11 @@ jobs: - name: Restore the Composer cache directory id: composercache - run: echo "COMPOSER_CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV - - - uses: actions/cache@v4 + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - uses: actions/cache@v3 with: - path: ${{ env.COMPOSER_CACHE_DIR }} + path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-'8.1'-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-'8.1'-composer- @@ -71,4 +70,4 @@ jobs: ${{ env.RELEASE_RPMFILENAME }} name: "Release ${{ env.RELEASE_VER }} - ${{ env.RELEASE_RUNNUMBER }}" tag_name: "release.${{ env.LIMAN_BRANCH }}.${{ env.RELEASE_RUNNUMBER }}" - prerelease: ${{ env.PRERELEASE }} + prerelease: ${{ env.PRERELEASE }} \ No newline at end of file