4 Commits

Author SHA1 Message Date
Andrew Stein
8bb441a097 Styling 2023-02-25 02:17:43 -05:00
Andrew Stein
aef486a14d Workflow. I was a fool. 2023-02-25 02:11:08 -05:00
Andrew Stein
12375897b0 Workflow. I am making this work ;( 2023-02-25 02:09:36 -05:00
Andrew Stein
9c3b295de7 Workflow. I am making this work. 2023-02-25 02:05:08 -05:00
2 changed files with 5 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
name: Java CI with Maven
name: Dev Build
on:
push:
@@ -27,25 +27,12 @@ jobs:
id: version
run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- name: Fetch tags from remote
run: git fetch --tags
- name: Get current tag
id: current_tag
run: echo ::set-output name=tag::$(git describe --abbrev=0 --tags 2>/dev/null || echo '')
- name: Create new tag
id: makeatag
run: |
if [ `$(git tag v${{ steps.version.outputs.version }} | wc -l)` -le 2 ]; then
echo ::set-output name=successful::true
else
echo ::set-output name=successful::false
fi
run: git tag v${{github.run_number}}
- name: Push new tag
if: ${{steps.makeatag.successful}}
run: git push origin v${{ steps.version.outputs.version }}
run: git push origin v${{github.run_number}} # I was a fool.
- name: Create Release
if: always()
@@ -54,7 +41,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.current_tag.outputs.tag || 'v$(steps.version.outputs.version)' }}
tag_name: v${{github.run_number}} # Defeated by logic I stand.
release_name: "Release v${{ steps.version.outputs.version }} Build ${{ github.run_number }}"
draft: false
prerelease: false

View File

@@ -1,4 +1,4 @@
# elevenlabs-api ![example workflow](https://github.com/AndrewCPU/elevenlabs-api/actions/workflows/main.yml/badge.svg)
# elevenlabs-api ![Build](https://github.com/AndrewCPU/elevenlabs-api/actions/workflows/build.yml/badge.svg)
## An unofficial ElevenLabs AI Voice Generation Java API
*Disclaimer: I am not affiliated with ElevenLabs and am providing a programmatic way of accessing the public ElevenLabs Web API.*