Skip to content

ci: fix image name, update commands #16

ci: fix image name, update commands

ci: fix image name, update commands #16

Workflow file for this run

name: Draft Release
on:
push:
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
container:
image: dart:3.5.0
steps:

Check failure on line 12 in .github/workflows/draft_release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/draft_release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
- 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 }}