Skip to content

Commit

Permalink
Remove outdated action from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Nov 5, 2023
1 parent f2d13da commit 3053d42
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,19 @@ jobs:

- name: Get tag version
id: get_version
uses: battila7/get-version-action@v2
run: |
# Remove leading `v` from short ref name
version="${GITHUB_REF_NAME#v}"
echo "version=${version}" >> $GITHUB_OUTPUT
echo "Version: ${version}"
- name: Create release artifacts
run: ./gradlew jar sourcesJar jarWithDependencies dokkaJavadocJar dokkaHtmlJar

- name: Create release and upload artifacts
uses: softprops/action-gh-release@v1
with:
name: Tiny Lingua ${{ steps.get_version.outputs.version-without-v }}
name: Tiny Lingua ${{ steps.get_version.outputs.version }}
files: build/libs/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3053d42

Please sign in to comment.