From ba5aff80d92abc09b9f683d0fc0cc3738ab7404d Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 5 Sep 2024 10:51:19 -0400 Subject: [PATCH] feat: add selector upload to workflows --- .github/workflows/upload-selectors.yml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/upload-selectors.yml diff --git a/.github/workflows/upload-selectors.yml b/.github/workflows/upload-selectors.yml new file mode 100644 index 000000000..cd6ff08ec --- /dev/null +++ b/.github/workflows/upload-selectors.yml @@ -0,0 +1,28 @@ +name: 📤 Publish Selectors + +on: + push: + branches: + - dev + - mainnet + - testnet-holesky + +jobs: + upload-selectors: + strategy: + fail-fast: true + + name: Foundry project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + - name: Publish selectors to openchain.xyz + run: | + forge selectors upload --all \ No newline at end of file