Skip to content

Commit

Permalink
feat: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
diniz-lucas committed Apr 26, 2024
1 parent d774852 commit 6c630eb
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
branches:
- main

jobs:
publish:
name: 'Publish to pub.dev'
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
#jobs:
# publish:
# name: 'Publish to pub.dev'
# permissions:
# id-token: write
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

#jobs:
# publish:
Expand Down Expand Up @@ -43,26 +43,26 @@ jobs:



#jobs:
# publish:
# 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@v4
# # Setup Dart SDK with JWT token
# - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
# # Minimal package setup and dry run checks.
# - name: Install dependencies
# run: dart 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 }}
jobs:
publish:
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@v4
# Setup Dart SDK with JWT token
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
# Minimal package setup and dry run checks.
- name: Install dependencies
run: dart 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 }}

0 comments on commit 6c630eb

Please sign in to comment.