Skip to content

Commit

Permalink
Release CI fix (#110)
Browse files Browse the repository at this point in the history
* ci fixes

* fix release token

---------

Co-authored-by: Artem Chystiakov <[email protected]>
  • Loading branch information
dovgopoly and Arvolear authored Jul 29, 2024
1 parent 728b536 commit 485c99a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.ARVOLEAR_RELEASER }}
tag_name: ${{ needs.state.outputs.local_version }}
release_name: Release v${{ needs.state.outputs.local_version }}
name: Release v${{ needs.state.outputs.local_version }}
body: |
# Release notes v${{ needs.state.outputs.local_version }} 🎉
Expand Down
4 changes: 2 additions & 2 deletions scripts/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ elif [[ ${local_version_array[2]} -gt ${registry_version_array[2]} ]]; then
version_changed="patch"
fi

echo "::set-output name=local_version::$local_version"
echo "::set-output name=version_changed::$version_changed"
echo "local_version=$local_version" >> "$GITHUB_OUTPUT"
echo "version_changed=$version_changed" >> "$GITHUB_OUTPUT"

0 comments on commit 485c99a

Please sign in to comment.