Dev solana native program (#145) #417
This file contains hidden or 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: EVM Workflow runner | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main, dev ] | |
| paths: | |
| - 'csharp/**' | |
| - '.github/workflows/evm.yml' | |
| pull_request: | |
| branches: [ main, dev ] | |
| paths: | |
| - 'csharp/**' | |
| - '.github/workflows/evm.yml' | |
| release: | |
| types: [published, created] | |
| env: | |
| DOCKER_IMAGE: trainprotocol/solver-evm | |
| DOTNET_VERSION: 9 | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Docker build and push | |
| id: docker | |
| uses: ./.github/actions/docker | |
| with: | |
| file: csharp/src/Workflow.EVM/Dockerfile | |
| docker-image: ${{ env.DOCKER_IMAGE }} | |
| dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} | |
| build-args: | | |
| DOTNET_VERSION=${{ env.DOTNET_VERSION }} |