Skip to content
Closed
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
12 changes: 11 additions & 1 deletion .github/workflows/release_dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name: Release Dart Binding
on:
push:
tags:
- "*"
- "v*"
pull_request:
branches:
- main
Expand All @@ -38,7 +38,16 @@ permissions:
contents: read

jobs:
validate:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Validate workflow definition
run: ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release_dart.yml")'

build:
if: github.event_name != 'pull_request'
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -92,6 +101,7 @@ jobs:
path: bindings/dart/rust/target/${{ matrix.target }}/release/*opendal*

combine-artifacts:
if: github.event_name != 'pull_request'
needs: build
runs-on: ubuntu-latest
steps:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ name: Release Python Binding
on:
push:
tags:
- "*"
pull_request:
branches:
- main
paths:
- ".github/workflows/release_python.yml"
- "v*"
workflow_dispatch:

concurrency:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name: Release Rust Packages
on:
push:
tags:
- "*"
- "v*"
pull_request:
branches:
- main
Expand All @@ -31,7 +31,16 @@ on:
workflow_dispatch:

jobs:
validate:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Validate workflow definition
run: ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release_rust.yml")'

publish:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down
Loading