Skip to content

Commit

Permalink
Update actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyNovikov89 authored Aug 14, 2024
1 parent 7f17a87 commit faeb0c7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,39 @@ jobs:
configuration: Release
verbosity: Diagnostic
cake-version: 1.3.0

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: packages
path: |
target/*.jar
if-no-files-found: error

publish:
runs-on: ubuntu-22.04
needs: build
if: startsWith(github.event.ref, 'refs/tags/version')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x

- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: packages

- name: Create github release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
draft: false
prerelease: false
files: |
**/*.jar

0 comments on commit faeb0c7

Please sign in to comment.