Skip to content

Commit

Permalink
Merge pull request #377 from DelSkayn/update-ci
Browse files Browse the repository at this point in the history
Update download-artifact ci
  • Loading branch information
DelSkayn authored Oct 31, 2024
2 parents 592d2f9 + 11cf82f commit d93b4e2
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,31 +389,20 @@ jobs:
RUST_BACKTRACE: full
run: cargo test ${{ matrix.optimization && '--release' || '' }} --all --target ${{ matrix.target }} --no-default-features --features ${{ matrix.features }}

merge:
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Merge bindings
uses: actions/upload-artifact/merge@v4
with:
name: bindings
pattern: bindings-*


update-bindings:
if: ${{ github.event_name != 'pull_request' && !startsWith(github.ref, 'refs/tags/') }}
needs:
- test
- merge
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download bindings
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings
name: bindings-*
path: sys/src/bindings
merge-multiple: true
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
Expand Down

0 comments on commit d93b4e2

Please sign in to comment.