From a307da514d8d21976191933f37ccc231f675192a Mon Sep 17 00:00:00 2001 From: Matias Poblete <86752543+MattPoblete@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:47:50 -0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20testing=20build=20hash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 73 +++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..a3cc0052 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,73 @@ +name: Stellar expert release contracts workflow +on: + workflow_dispatch: + inputs: + release_name: + description: 'Unique name for the release' + required: true + type: string +permissions: + contents: write + pull-requests: write + repository-projects: write + packages: write +defaults: + run: + working-directory: ./ + +jobs: + release-soroswap-token: + uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main + with: + release_name: ${{ github.ref_name }} + release_description: 'soroswap token contract release' + relative_path: './contracts/token' + package: 'soroban-token-contract' + make_target: './Makefile' + secrets: + release_token: ${{ secrets.GITHUB_TOKEN }} + needs: [] + release-soroswap-pair: + uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main + with: + release_name: ${{ github.ref_name }} + release_description: 'soroswap pair contract release' + relative_path: './contracts/pair' + package: 'soroswap-pair' + make_target: './Makefile' + secrets: + release_token: ${{ secrets.GITHUB_TOKEN }} + needs: [release-soroswap-token] + release-soroswap-factory: + uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main + with: + release_name: ${{ github.ref_name }} + release_description: 'soroswap factory contract release' + relative_path: './contracts/factory' + package: 'soroswap-factory' + make_target: './Makefile' + secrets: + release_token: ${{ secrets.GITHUB_TOKEN }} + needs: [release-soroswap-token, release-soroswap-pair] + release-soroswap-library: + uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main + with: + release_name: ${{ github.ref_name }} + release_description: 'soroswap library contract release' + relative_path: './contracts/library' + package: 'soroswap-library' + make_target: './Makefile' + secrets: + release_token: ${{ secrets.GITHUB_TOKEN }} + needs: [release-soroswap-token, release-soroswap-pair, release-soroswap-factory] + release-soroswap-router: + uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main + with: + release_name: ${{ github.ref_name }} + release_description: 'Swap of tokens when a direct pair does not exist, by using a given paths. It will also handle liquidity provision and manage deposit and withdrawal functions for liquidity providers within the Soroswap ecosystem.' + relative_path: './contracts/router' + package: 'soroswap-router' + make_target: './Makefile' + secrets: + release_token: ${{ secrets.GITHUB_TOKEN }} + needs: [release-soroswap-token, release-soroswap-pair, release-soroswap-factory] \ No newline at end of file