Skip to content

Commit

Permalink
Merge pull request #243 from yakforward-ou/widgetweaver
Browse files Browse the repository at this point in the history
fix pubspec description
  • Loading branch information
iapicca authored Apr 20, 2024
2 parents 8b467ae + 8102ce7 commit 8b4dd23
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/pub-lish.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: 'pub-lish'
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
branches:
- main
jobs:
pub-lish:
name: 'publish to pub.dev'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'setup flutter'
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: 'setup credentials'
run: |
mkdir $HOME/.pub-cache/ && \
touch $HOME/.pub-cache/credentials.json && \
cat <<EOF > $HOME/.pub-cache/credentials.json
{
"accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}",
"refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}",
"tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
"scopes":["https://www.googleapis.com/auth/userinfo.email","openid"],
"expiration":${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
}
EOF
- name: 'install melos'
uses: bluefireteam/melos-action@v1
- name: 'publishing'
run: |
yes | melos publish --no-dry-run --git-tag-version
# name: 'pub-lish'
# on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+*'
# branches:
# - main
# jobs:
# pub-lish:
# name: 'publish to pub.dev'
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - name: 'checkout'
# uses: actions/checkout@v4
# - name: 'setup flutter'
# uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: 'setup credentials'
# run: |
# mkdir $HOME/.pub-cache/ && \
# touch $HOME/.pub-cache/credentials.json && \
# cat <<EOF > $HOME/.pub-cache/credentials.json
# {
# "accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}",
# "refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}",
# "tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
# "scopes":["https://www.googleapis.com/auth/userinfo.email","openid"],
# "expiration":${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
# }
# EOF
# - name: 'install melos'
# uses: bluefireteam/melos-action@v1
# - name: 'publishing'
# run: |
# yes | melos publish --no-dry-run --git-tag-version

2 changes: 1 addition & 1 deletion packages/yak_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: yak_flutter
description: A collection of tools and extensions for Flutter.
description: A collection of tools, widgets and extensions for Flutter framework.
version: 3.0.1
homepage: https://github.com/yakforward-ou/yak_packages

Expand Down

0 comments on commit 8b4dd23

Please sign in to comment.