Skip to content

Commit

Permalink
disable automatic deployment as it does not work yet (dart-lang/setup…
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBaumgart committed Aug 31, 2023
1 parent 88e4b97 commit e503568
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 39 deletions.
51 changes: 14 additions & 37 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
name: Publish to pub.dev

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
# permissions:
# id-token: write # Required for authentication using OIDC
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# with:
# working-directory: path/to/package/within/repository


name: 'Publish to pub.dev'
environment: ${{ inputs.environment }}
permissions:
id-token: write # This is required for requesting the JWT
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v3
# Setup Dart SDK with JWT token
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
# Minimal package setup and dry run checks.
- name: Install dependencies
run: flutter pub get
working-directory: ${{ inputs.working-directory }}
- name: Publish - dry run
run: dart pub publish --dry-run
working-directory: ${{ inputs.working-directory }}
# Publishing...
- name: Publish to pub.dev
run: dart pub publish -f
working-directory: ${{ inputs.working-directory }}
#name: Publish to pub.dev
#
#on:
# push:
# tags:
# - '[0-9]+.[0-9]+.[0-9]+*'
#
#jobs:
# publish:
# permissions:
# id-token: write # Required for authentication using OIDC
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# # with:
# # working-directory: path/to/package/within/repository
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@

## 0.0.5-0.0.8

* add automatic deployment
* add automatic deployment

## 0.0.9

* disable automatic deployment as it does not work
yet (https://github.com/dart-lang/setup-dart/issues/68)
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_map_polywidget
description: flutter_map_polywidget is a flutter_map plugin for displaying any widget on the map.
version: 0.0.8
version: 0.0.9
homepage: https://github.com/TimBaumgart/flutter_map_polywidget

environment:
Expand Down

0 comments on commit e503568

Please sign in to comment.