Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed dry-run job in release #51

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ on:
- synchronize

jobs:
build-on-pr:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: ${{ github.event.pull_request.commits }}

dry-run:
runs-on: ubuntu-latest
name: Flutter Pub Publish --dry-run
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@ permissions:
contents: write

jobs:
dry-run:
runs-on: ubuntu-latest
name: Flutter Pub Publish --dry-run
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'

- name: Install dependencies
run: flutter pub get

- name: Run flutter pub publish --dry-run
run: flutter pub publish --dry-run

publish:
if: (github.event.pull_request.merged == true && !contains(github.event.pull_request.title, '[skip ci]')) || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
Expand Down
Loading