From 24e7f4b51dca428024d84f0556109132f2d011cd Mon Sep 17 00:00:00 2001 From: Samuel Gordalina Date: Thu, 20 Oct 2022 10:57:51 -1000 Subject: [PATCH] Update github actions --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b19602..5972b9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: name: Test PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@master @@ -54,10 +54,10 @@ jobs: - name: Get Composer Cache Directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "name=dir::$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('composer.json') }} @@ -88,16 +88,16 @@ jobs: needs: test steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Get tag & commit hash id: info run: | - echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - echo ::set-output name=COMMIT_SHA::$(git rev-parse --short HEAD) - echo ::set-output name=BUILD_DATE::$(date -u +'%Y-%m-%dT%H:%M:%SZ') + echo "name=VERSION::${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT + echo "name=COMMIT_SHA::$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + echo "name=BUILD_DATE::$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT - name: Set up QEMU uses: docker/setup-qemu-action@v1