Skip to content

Commit

Permalink
fix: fix artifact uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
rilesdun committed Sep 24, 2023
1 parent 2bfb5b7 commit 3a7dfd6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,13 @@ jobs:
- name: Get the latest tag
id: get-latest-tag
run: |
echo "::set-output name=tag::$(git tag --sort=taggerdate | tail -1)"
echo "$(git tag --sort=taggerdate | tail -1)" > tag.txt
- name: Upload tag as artifact
uses: actions/upload-artifact@v2
with:
name: latest-tag
path: ./tag.txt

- name: Upload tag as artifact
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -185,4 +191,4 @@ jobs:
docker rm explorer-api || true
docker run -d --name explorer-api ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
ENDSSH

0 comments on commit 3a7dfd6

Please sign in to comment.