Add V16 Builtin Actors (#350) #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Crates | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- v* | ||
env: | ||
RUSTC_WRAPPER: "sccache" | ||
SCCACHE_GHA_ENABLED: "true" | ||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} | ||
jobs: | ||
publish-shared: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish shared crate | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: "fil_actors_shared" | ||
publish-independent: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
crate: [ | ||
"fil_actor_account_state", | ||
"fil_actor_cron_state", | ||
"fil_actor_ethaccount_state" | ||
] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish independent crate | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: ${{ matrix.crate }} | ||
publish-dependent-on-shared: | ||
runs-on: ubuntu-latest | ||
needs: publish-shared | ||
strategy: | ||
matrix: | ||
crate: [ | ||
"fil_actor_datacap_state", | ||
"fil_actor_evm_state", | ||
"fil_actor_init_state", | ||
"fil_actor_multisig_state", | ||
"fil_actor_paych_state", | ||
"fil_actor_power_state", | ||
"fil_actor_system_state" | ||
] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish dependent crate | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: ${{ matrix.crate }} | ||
publish-verifreg-and-eam: | ||
runs-on: ubuntu-latest | ||
needs: publish-shared | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish verifreg crate | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: [ | ||
"fil_actor_verifreg_state", | ||
"fil_actor_eam_state" | ||
] | ||
publish-market-and-miner: | ||
runs-on: ubuntu-latest | ||
needs: publish-verifreg-and-eam | ||
strategy: | ||
matrix: | ||
crate: [ | ||
"fil_actor_market_state", | ||
"fil_actor_miner_state" | ||
] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish market and miner crates | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: ${{ matrix.crate }} | ||
publish-reward: | ||
runs-on: ubuntu-latest | ||
needs: publish-market-and-miner | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Publish reward crate | ||
uses: ./.github/composite-actions/publish-crate | ||
with: | ||
crate: "fil_actor_reward_state" |