From 8acc5352188918821c5a9c356f1f07483ff88faf Mon Sep 17 00:00:00 2001 From: Dylan T Date: Tue, 9 Aug 2022 19:27:54 +0100 Subject: [PATCH] ffs --- .github/workflows/discord-release-notify.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/discord-release-notify.yml b/.github/workflows/discord-release-notify.yml index 94570dc21..210f5c0d9 100644 --- a/.github/workflows/discord-release-notify.yml +++ b/.github/workflows/discord-release-notify.yml @@ -17,6 +17,19 @@ jobs: with: php-version: 8.0 + - name: Restore Composer package cache + uses: actions/cache@v3 + with: + path: | + ~/.cache/composer/files + ~/.cache/composer/vcs + key: "composer-v2-cache-${{ hashFiles('./composer.lock') }}" + restore-keys: | + composer-v2-cache- + + - name: Install Composer dependencies + run: composer install --no-dev --prefer-dist --no-interaction --ignore-platform-reqs + - name: Get actual tag name id: tag-name run: echo ::set-output name=TAG_NAME::$(echo "${{ github.ref }}" | sed 's{^refs/tags/{{')