Fix: blueprint file not added to release

This commit is contained in:
Zephrynis
2025-04-05 13:49:03 +01:00
committed by GitHub
parent 3102e2120d
commit 92d901a829

View File

@@ -26,15 +26,24 @@ jobs:
- name: Create zip of project files - name: Create zip of project files
run: | run: |
zip -r sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint . -x "*.git*" zip -r sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint . -x "*.git*"
ls -l sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint # Debug: list the created file
- name: Create GitHub Release and Upload Asset - name: Create Release
uses: ncipollo/release-action@v1 id: create_release
uses: comnoco/create-release-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with: with:
token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ steps.get_version.outputs.VERSION }}
tag: "v${{ steps.get_version.outputs.VERSION }}" release_name: Release v${{ steps.get_version.outputs.VERSION }}
release_name: "Release v${{ steps.get_version.outputs.VERSION }}" body: "${{ github.event.head_commit.message }}"
body: "Automated release based on version ${{ steps.get_version.outputs.VERSION }}"
draft: false draft: false
prerelease: false prerelease: false
assets: sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint
asset_name: sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint
tag: ${{ steps.get_version.outputs.VERSION }}
overwrite: true