Skip to content

Commit

Permalink
Use a different github action to create a release
Browse files Browse the repository at this point in the history
  • Loading branch information
araratthehero committed Nov 1, 2024
1 parent c1cfa8a commit 33e1515
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,23 @@ jobs:
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
echo "Variable PROJECT_VERSION set to: ${PROJECT_VERSION}"
# - name: Create Github release
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ env.PROJECT_VERSION }}
# bodyFile: RELEASE_NOTES.md
# draft: true
- name: Create Github release
uses: ncipollo/release-action@v1
with:
tag: ${{ env.PROJECT_VERSION }}
name: ${{ env.PROJECT_VERSION }}
bodyFile: RELEASE_NOTES.md
draft: true
# artifacts: "app/build/outputs/apk/release/app-release.apk"

# Create the Release TAG and notes.
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.PROJECT_VERSION }}
release_name: ${{ env.PROJECT_VERSION }}
body_path: ${{ github.workspace }}/RELEASE_NOTES.md
draft: false
prerelease: false
# - name: Create GitHub Release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.PROJECT_VERSION }}
# release_name: ${{ env.PROJECT_VERSION }}
# body_path: ${{ github.workspace }}/RELEASE_NOTES.md
# draft: false
# prerelease: false

0 comments on commit 33e1515

Please sign in to comment.