From 8157982c429f6d8aaf03ccd0af6bae6c60e920ea Mon Sep 17 00:00:00 2001 From: AKuHAK <621640+AKuHAK@users.noreply.github.com> Date: Sun, 25 Jun 2023 21:23:08 +0300 Subject: [PATCH] Update obsolete action --- .github/workflows/compilation.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 1fef2db..7216981 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -25,12 +25,11 @@ jobs: - name: Compile project run: | make + # commands for compiling your project - - name: Get short SHA and repository name + - name: Get short SHA id: slug - run: | - echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" - echo "::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")" + run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT - name: Upload artifacts if: ${{ success() }} @@ -49,11 +48,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Get short SHA and repository name + - name: Get short SHA id: slug - run: | - echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" - echo "::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")" + run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT - name: Download artifact uses: actions/download-artifact@v3