Skip to content

feat: supports provided.al2023 #9

feat: supports provided.al2023

feat: supports provided.al2023 #9

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
types:
- closed
jobs:
core:
name: 🤖 core
runs-on: ubuntu-latest
steps:
- name: 👇 Checkout
uses: actions/checkout@v3
- name: 📦 Setup Dart
if: ${{ !env.ACT }}
uses: dart-lang/setup-dart@v1
- name: 📦 Setup LCOV
if: ${{ !env.ACT }}
uses: hrishikesh-kadam/setup-lcov@v1
- name: ✍🏼 Version
id: version
uses: endaft/action-yamler@v1.0.9
with:
file: ./pubspec.yaml
path: version
set: ${{ format('-dev.{0}', github.run_number) }}
get: true
append: true
- name: 👷 Make
if: ${{ !env.ACT }}
run: make
- name: 🏷 Tags
uses: endaft/action-dev-tagger@v1.0.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
prefix: ${{ format('v{0}-dev.', steps.version.outputs.value_old) }}
tag: ${{ format('v{0}-dev.{1}', steps.version.outputs.value_old, github.run_number) }}
- name: ✍🏼 Changelog
id: changelog
uses: endaft/action-changelog@v0.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/changelog-config.js
- name: ✍🏼 Prepend Changelog
uses: endaft/action-prepend@v0.0.9
with:
file_target: CHANGELOG.md
value_in: ${{ steps.changelog.outputs.changelog }}
is_file: "false"
- name: 🚀 Publish
if: ${{ !env.ACT }}
uses: k-paxian/dart-package-publisher@v1.6
with:
accessToken: ''
refreshToken: ''
credentialJson: ${{secrets.PUB_DEV_CREDENTIALS}}
skipTests: true
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
flags: unittests