mirror of
https://github.com/zephrynis/ptero-sidebar.git
synced 2026-04-17 09:31:55 +00:00
debugging added
This commit is contained in:
12
.github/workflows/export_ext.yml
vendored
12
.github/workflows/export_ext.yml
vendored
@@ -21,20 +21,20 @@ jobs:
|
|||||||
VERSION=${VERSION//\"/}
|
VERSION=${VERSION//\"/}
|
||||||
VERSION=${VERSION//\'/}
|
VERSION=${VERSION//\'/}
|
||||||
echo "Detected version: $VERSION"
|
echo "Detected version: $VERSION"
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
||||||
echo "::set-output name=VERSION::$VERSION"
|
echo "::set-output name=VERSION::$VERSION"
|
||||||
|
|
||||||
- name: Create zip of project files
|
- name: Create zip of project files
|
||||||
run: |
|
run: |
|
||||||
zip -r sidebar-${{ env.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 GitHub Release and Upload Asset
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: "v${{ env.VERSION }}"
|
tag: "v${{ steps.get_version.outputs.VERSION }}"
|
||||||
release_name: "Release v${{ env.VERSION }}"
|
release_name: "Release v${{ steps.get_version.outputs.VERSION }}"
|
||||||
body: "Automated release based on version ${{ env.VERSION }}"
|
body: "Automated release based on version ${{ steps.get_version.outputs.VERSION }}"
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
assets: sidebar-${{ env.VERSION }}.blueprint
|
assets: sidebar-${{ steps.get_version.outputs.VERSION }}.blueprint
|
||||||
|
|||||||
Reference in New Issue
Block a user