Skip to content

Commit

Permalink
Try creating release in github action with all files
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Oct 13, 2024
1 parent b8654a7 commit 3fd0a0d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ jobs:
- uses: actions/download-artifact@v4
with:
path: binaries
- name: Collect files
id: collect-artifacts
shell: bash
run: |
files=$(find binaries -type f | paste -sd "," -)
echo "Comma-separated files: $files"
echo "uploaded_files=$files" >> "$GITHUB_OUTPUT"
- name: Create Tag
shell: bash
run: |
Expand All @@ -158,6 +165,9 @@ jobs:
git tag -a "${{ inputs.publish-version }}" -m "Release version ${{ inputs.publish-version }}"
git push
git push --tags
- run: find .
- run: exit 1
- uses: ncipollo/release-action@v1
with:
artifacts: "${{ steps.collect-artifacts.uploaded_files }}"
tag: ${{ inputs.publish-version }}
generateReleaseNotes: true

0 comments on commit 3fd0a0d

Please sign in to comment.