Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanshtalwar committed May 29, 2024
1 parent f545fe2 commit 8796125
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
37 changes: 22 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: Publish to pub.dev

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*' # tag pattern on pub.dev: 'v'

# Publish using custom workflow
release:
branches:
- master
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.3'
- name: Install dependencies
run: flutter pub get
# Here you can insert custom steps you need
# - run: dart tool/generate-code.dart
- name: Analyze
run: flutter analyze
- name: Run tests
run: flutter test
- name: Format code
run: dart format --fix .
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
run: flutter pub publish --force
uses: k-paxian/[email protected]
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.3.3"
version: "2.3.4"
js:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: janus_client
description: A feature rich Janus Webrtc package
version: 2.3.4
version: 2.3.5
homepage: https://github.com/shivanshtalwar0/flutter_janus_client

environment:
Expand Down

0 comments on commit 8796125

Please sign in to comment.