Skip to content

Commit 40bcecf

Browse files
committed
feat: add attestation github action
1 parent 63a9eed commit 40bcecf

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Release # name it whatever you like
2+
on:
3+
push:
4+
tags:
5+
- "registry-v*" # triggered whenever a new tag (prefixed with "v") is pushed to the repository
6+
7+
permissions: # required permissions for the workflow
8+
id-token: write
9+
contents: write
10+
attestations: write
11+
12+
jobs:
13+
release-contract-a:
14+
uses: stellar-expert/soroban-build-workflow/.github/workflows/release.yml@main
15+
with:
16+
release_name: ${{ github.ref_name }} # use git tag as unique release name
17+
release_description: "Contract release" # some boring placeholder text to attach
18+
home_domain: "theaha.co" # home domain for the contract
19+
relative_path: '["contracts/registry"]' # relative path to your really awesome contract
20+
package: "registry" # package name to build
21+
secrets: # the authentication token will be automatically created by GitHub
22+
release_token: ${{ secrets.GITHUB_TOKEN }} # don't modify this line

contracts/registry/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ license = "Apache-2.0"
77
rust-version = "1.69"
88
edition = "2021"
99
publish = false
10+
repository = "https://github.com/theahaco/scaffold-stellar/tree/main/contracts/registry"
11+
1012

1113
[lib]
1214
crate-type = ["cdylib"]

0 commit comments

Comments
 (0)