|
| 1 | +name: generate-verifiable-builds |
| 2 | +on: |
| 3 | + workflow_dispatch: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - production |
| 7 | + - develop |
| 8 | + |
| 9 | +jobs: |
| 10 | + generate-verifiable-autocrat: |
| 11 | + runs-on: ubuntu-20.04 |
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v3 |
| 14 | + - uses: metadaoproject/anchor-verifiable-build@v0 |
| 15 | + with: |
| 16 | + program: autocrat_v0 |
| 17 | + anchor-version: '0.29.0' |
| 18 | + solana-cli-version: '1.17.16' |
| 19 | + - run: 'git pull --rebase' |
| 20 | + - run: cp target/deploy/autocrat_v0.so ./verifiable-builds |
| 21 | + - name: Commit verifiable build back to mainline |
| 22 | + uses: EndBug/add-and-commit@v9.1.4 |
| 23 | + with: |
| 24 | + default_author: github_actions |
| 25 | + message: 'Update autocrat_v0 verifiable build' |
| 26 | + generate-verifiable-vault: |
| 27 | + runs-on: ubuntu-20.04 |
| 28 | + steps: |
| 29 | + - uses: actions/checkout@v3 |
| 30 | + - uses: metadaoproject/anchor-verifiable-build@v0 |
| 31 | + with: |
| 32 | + program: conditional_vault |
| 33 | + anchor-version: '0.29.0' |
| 34 | + solana-cli-version: '1.17.16' |
| 35 | + - run: 'git pull --rebase' |
| 36 | + - run: cp target/deploy/conditional_vault.so ./verifiable-builds |
| 37 | + - name: Commit verifiable build back to mainline |
| 38 | + uses: EndBug/add-and-commit@v9.1.4 |
| 39 | + with: |
| 40 | + default_author: github_actions |
| 41 | + message: 'Update conditional_vault verifiable build' |
| 42 | + generate-verifiable-migrator: |
| 43 | + runs-on: ubuntu-20.04 |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v3 |
| 46 | + - uses: metadaoproject/anchor-verifiable-build@v0 |
| 47 | + with: |
| 48 | + program: autocrat_migrator |
| 49 | + anchor-version: '0.29.0' |
| 50 | + solana-cli-version: '1.17.16' |
| 51 | + - run: 'git pull --rebase' |
| 52 | + - run: cp target/deploy/autocrat_migrator.so ./verifiable-builds |
| 53 | + - name: Commit verifiable build back to mainline |
| 54 | + uses: EndBug/add-and-commit@v9.1.4 |
| 55 | + with: |
| 56 | + default_author: github_actions |
| 57 | + message: 'Update autocrat_migrator verifiable build' |
0 commit comments