Skip to content

Commit

Permalink
Merge pull request #78 from Cardinal-Cryptography/workflows-single-file
Browse files Browse the repository at this point in the history
All jobs in single workflow file
  • Loading branch information
deuszx authored Jan 29, 2024
2 parents 64e2b8b + c8e9806 commit e100359
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 29 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -17,3 +15,19 @@ jobs:

- name: Run all checks
run: make all-dockerized

publish:
needs: [ build-and-test ]
runs-on: ubuntu-latest
if: github.repository == 'Cardinal-Cryptography/ink-wrapper' && startsWith(github.ref, 'refs/heads/') && github.ref_name == 'main'
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: Cardinal-Cryptography/aleph-node/.github/actions/install-rust-toolchain@5eda3cd85e7e3aec3f2db7a26631c65d52c4b9ea
- uses: './.github/actions/publish-if-newer'
with:
package: ink-wrapper-types
- uses: './.github/actions/publish-if-newer'
with:
package: ink-wrapper
27 changes: 0 additions & 27 deletions .github/workflows/publish.yml

This file was deleted.

0 comments on commit e100359

Please sign in to comment.