Skip to content

Merge pull request #2 from iamapuneet/dependabot/github_actions/actio… #10

Merge pull request #2 from iamapuneet/dependabot/github_actions/actio…

Merge pull request #2 from iamapuneet/dependabot/github_actions/actio… #10

Workflow file for this run

name: "Dart & Flutter Dotted Line Flutter Plugin"
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: Build & Release
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create dist directory
run: mkdir dist
- name: Create tar.gz archive
run: |
tar --exclude=dist -czvf dist/dotted_line_flutter.tar.gz -C "${{ github.workspace }}" .
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v0.0.${{ github.run_number }}
release_name: Release v0.0.${{ github.run_number }}
draft: false
makeLatest: true
body: |
🎉 **Dotted Line Flutter - Release v0.0.${{ github.run_number }}** 🎉
🔥 **What's New**:
✅ **Dotted and Dashed Lines**
✅ **Gradient Color Support**
✅ **Customizable Dash Width & Gap**
✅ **Horizontal & Vertical Orientation**
✅ **Shadow Effect for Depth**
✅ **More Shapes (Star, Circle, etc.)**
✅ **Star Shape**
✅ **Circle Dotted Line**
✅ **Custom Dash Shapes**
✅ **Patterned Dashes (Short-Long)**
📢 **Developed by:** Puneet Sharma
🆔 **GitHub Id:** [@iamapuneet](https://github.com/iamapuneet)
💼 **Project:** Dotted Line Flutter
👉 **Download the latest release below!**
- name: Upload tar.gz to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/dotted_line_flutter.tar.gz
asset_name: dotted_line_flutter.tar.gz
asset_content_type: application/gzip