From 85457020e2fcf0b01ddf3c723f3ba5884d8916ae Mon Sep 17 00:00:00 2001 From: Wilhelm Thieme Date: Thu, 1 Aug 2024 14:17:57 -0400 Subject: [PATCH] Scaffolding gh actions --- .github/workflows/publish.yml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8246a251e..d11a96d66 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: npm: strategy: matrix: - package: [sdk] + package: [] runs-on: ubuntu-latest steps: - name: Checkout Repository @@ -30,8 +30,39 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + cargo: + strategy: + matrix: + package: [] + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Deploy cargo + uses: ./.github/actions/anchor + with: + run: | + export RUST_LOG= + # deploy cargo + + verifiable: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Deploy cargo + uses: ./.github/actions/anchor + with: + run: | + export RUST_LOG= + # verifiable build and add to release + release: - needs: [npm] + needs: [npm, cargo, verifiable] if: ${{ always() }} runs-on: ubuntu-latest permissions: