Skip to content

Commit

Permalink
First release using conda and pyinstaller for quicker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored May 14, 2024
1 parent 13a0a0e commit 0e421f5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ jobs:
- name: Rename file
run: ren "dist\LinguifAI Setup 0.1.0.exe" "LinguifAI Setup ${{ steps.get_latest_release.outputs.new_version }}.exe"

- name: Get latest commit message
id: get_latest_commit_message
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const response = await github.repos.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
per_page: 1
});
console.log(`::set-output name=commit_message::${response.data[0].commit.message}`);
- name: Create Release
id: create_release
Expand All @@ -87,5 +100,4 @@ jobs:
tag_name: v${{ steps.get_latest_release.outputs.new_version }}
name: v${{ steps.get_latest_release.outputs.new_version }}
prerelease: true
body: |
Descrição do release aqui
body: ${{ steps.get_latest_commit_message.outputs.commit_message }}

0 comments on commit 0e421f5

Please sign in to comment.