mirror of
https://github.com/zephrynis/ptero-sidebar.git
synced 2026-04-17 09:31:55 +00:00
Fix: blueprint file not added to release
This commit is contained in:
25
.github/workflows/export_ext.yml
vendored
25
.github/workflows/export_ext.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user