fix: loosen dependency constraints for meta and collection #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Draft Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: dart:3.5.0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: dart pub get | ||
- name: Add pub executables to path | ||
run: echo "::add-path::$HOME/.pub-cache/bin" | ||
- name: Set pub version in env | ||
run: | | ||
dart pub global activate pubspec_version | ||
echo "Current version is: $(pubver get)" | ||
echo "::set-env name=RELEASE_VERSION::$(pubver get)" | ||
- name: Create release draft | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
dart publish: false | ||
name: v${{ env.RELEASE_VERSION }} | ||
version: ${{ env.RELEASE_VERSION }} | ||
tag: ${{ env.RELEASE_VERSION }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |