Close Issue #12: 修复x_map_base 临时文件引用问题;修复新版本Flutter theme 字段弃用引用问题 #38
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: Publish to Pub.dev | |
on: | |
push | |
jobs: | |
publishing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@main # required! | |
- name: '>> Dart package <<' | |
id: package_publisher | |
uses: k-paxian/dart-package-publisher@master | |
with: | |
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} | |
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }} | |
skipTests: true | |
flutter: true | |
force: true | |
- name: Create Release | |
if: steps.package_publisher.outputs.success == 'true' | |
uses: kuloud/Github-Release-Action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: v${{ steps.package_publisher.outputs.localVersion }} | |
title: Release ${{ steps.package_publisher.outputs.localVersion }} | |
body: | | |
Automated release for version ${{ steps.package_publisher.outputs.localVersion }} | |
draft: false | |
prerelease: false |