Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
brapoprod authored Jul 26, 2024
1 parent 7f8ae05 commit 35cf3ed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-release-mechanism.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ jobs:
check-release:
runs-on: ubuntu-latest
steps:
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Get release information
- name: Get release information
id: get_release
run: |
release_info=$(gh api /repos/${{ github.repository }}/tags/${{ github.event.release.tag_name }})
release_info=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/releases/tags/${{ github.event.release.tag_name }})
echo "$release_info" > release_info.json
release_created_at=$(jq -r '.created_at' release_info.json)
tag_created_at=$(git log -1 --format=%aI ${{ github.event.release.tag_name }})
Expand Down

0 comments on commit 35cf3ed

Please sign in to comment.