Skip to content

chore(changelog_cli): update to 0.5.1 #13

chore(changelog_cli): update to 0.5.1

chore(changelog_cli): update to 0.5.1 #13

Workflow file for this run

name: Build changelog_cli
on:
push:
tags:
- "changelog_cli-v[0-9]+.[0-9]+.[0-9]+"
jobs:
build_changelog_cli:
defaults:
run:
working-directory: changelog_cli
name: Build changelog_cli
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
include:
- binary-name: changelog_cli_linux
os: ubuntu-latest
- binary-name: changelog_cli.exe
os: windows-latest
- binary-name: changelog_cli_macos
os: macos-latest
- binary-name: changelog_cli_macos_x86
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: mkdir build
- run: mkdir build/${{ matrix.os }}
- run: dart compile exe bin/changelog_cli.dart -o build/${{ matrix.os }}/${{ matrix.binary-name }}
- uses: actions/upload-artifact@v4
with:
name: bin-${{ matrix.os }}
path: changelog_cli/build/${{ matrix.os }}/${{ matrix.binary-name }}
upload_artifacts:
needs: build_changelog_cli
name: Create GitHub Release and Upload Artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: bin-ubuntu-latest
path: bin-linux
- uses: actions/download-artifact@v4
with:
name: bin-macos-latest
path: bin-macos
- uses: actions/download-artifact@v4
with:
name: bin-windows-latest
path: bin-windows
- uses: actions/download-artifact@v4
with:
name: bin-macos-13
path: bin-macos-x86
- uses: softprops/action-gh-release@v1
with:
draft: true
files: bin-*/*