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 e790ddd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ 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 "uploaded_files=$files" >> "$GITHUB_OUTPUT"
- name: Create Tag
shell: bash
run: |
Expand All @@ -158,6 +164,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.outputs.uploaded_files }}
tag: ${{ inputs.publish-version }}
generateReleaseNotes: true

0 comments on commit e790ddd

Please sign in to comment.