Skip to content

Commit

Permalink
Add tagged release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldOfView committed Apr 20, 2022
1 parent 0088cf5 commit 7a1d54b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create_tagged_release_with_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Cura-plugin release"

on:
push:
tags:
- "v*"

jobs:
create-curapackages:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
with:
path: "build"
submodules: "recursive"
- uses: fieldOfView/cura-plugin-packager-action@main
with:
source_folder: "build"
package_info_path: "build/.github/workflows/package.json"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
*.curapackage
16 changes: 16 additions & 0 deletions .github/workflows/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"author": {
"author_id": "fieldofview",
"display_name": "fieldOfView",
"email": "aldo@fieldofview.com",
"website": "http://fieldofview.com"
},
"description": "Adds a Z Offset setting to change the distance between the nozzle and the buildplate.\n\nThe development of this plugin can be sponsored via Github Sponsors (https://github.com/sponsors/fieldofview) or Paypal (https://www.paypal.me/fieldofview)",
"display_name": "Z Offset Setting",
"package_id": "ZOffsetPlugin",
"package_type": "plugin",
"package_version": "0.0.0",
"sdk_version": 0,
"sdk_version_semver": "0.0.0",
"website": "https://github.com/fieldOfView/Cura-ZOffsetPlugin"
}

0 comments on commit 7a1d54b

Please sign in to comment.