diff --git a/.github/workflows/create_tagged_release_with_packages.yaml b/.github/workflows/create_tagged_release_with_packages.yaml new file mode 100644 index 0000000..4645c0a --- /dev/null +++ b/.github/workflows/create_tagged_release_with_packages.yaml @@ -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 diff --git a/.github/workflows/package.json b/.github/workflows/package.json new file mode 100644 index 0000000..4697d1b --- /dev/null +++ b/.github/workflows/package.json @@ -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" +} \ No newline at end of file