mirror of
https://github.com/zephrynis/ptero-sidebar.git
synced 2026-04-17 09:31:55 +00:00
Feat: use blueprint build action
This commit is contained in:
10
.github/workflows/export_ext.yml
vendored
10
.github/workflows/export_ext.yml
vendored
@@ -23,9 +23,9 @@ jobs:
|
|||||||
echo "Detected version: $VERSION"
|
echo "Detected version: $VERSION"
|
||||||
echo "::set-output name=VERSION::$VERSION"
|
echo "::set-output name=VERSION::$VERSION"
|
||||||
|
|
||||||
- name: Create zip of project files
|
- name: Blueprint Build
|
||||||
run: |
|
id: blueprint_build
|
||||||
zip -r sidebar.blueprint . -x "*.git*"
|
uses: zephrynis/blueprint-build@v0.1
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: sidebar.blueprint
|
file: ${{ steps.blueprint_build.outputs.FILE }}
|
||||||
asset_name: sidebar.blueprint
|
asset_name: ${{ steps.blueprint_build.outputs.FILE }}
|
||||||
tag: ${{ steps.get_version.outputs.VERSION }}
|
tag: ${{ steps.get_version.outputs.VERSION }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|||||||
Reference in New Issue
Block a user