Skip to content

Commit

Permalink
Update obsolete action
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Jun 25, 2023
1 parent 0d6a2ea commit 8157982
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand All @@ -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
Expand Down

0 comments on commit 8157982

Please sign in to comment.