Skip to content

Commit d1a02c8

Browse files
committed
docs(rust-build): update workflow references to iExecBlockchainComputing
1 parent 8c8b090 commit d1a02c8

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

rust-build/README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,18 @@ A reusable GitHub Actions workflow for building, testing, and publishing Rust pa
1414
```yaml
1515
name: Rust CI
1616

17-
on:
18-
push:
19-
branches: [ main ]
20-
pull_request:
21-
branches: [ main ]
17+
on: [pull_request]
2218

2319
jobs:
2420
build-and-test:
25-
uses: your-org/github-actions-workflows/.github/workflows/rust-build.yml@main
21+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/rust-build.yml@main
2622
with:
2723
rust-version: 'stable'
2824
build-target: 'release'
2925
enable-cache: true
3026
upload-artifact: true
3127
artifact-name: 'my-rust-app'
3228
artifact-path: 'target/release/my-app'
33-
secrets:
34-
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
3529
```
3630
3731
## Inputs
@@ -59,15 +53,15 @@ jobs:
5953
```yaml
6054
jobs:
6155
build-and-test:
62-
uses: your-org/github-actions-workflows/.github/workflows/rust-build.yml@main
56+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/rust-build.yml@main
6357
```
6458

6559
### Build, Test, and Upload Artifact
6660

6761
```yaml
6862
jobs:
6963
build-and-test:
70-
uses: your-org/github-actions-workflows/.github/workflows/rust-build.yml@main
64+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/rust-build.yml@main
7165
with:
7266
upload-artifact: true
7367
artifact-name: 'my-rust-app'
@@ -79,7 +73,7 @@ jobs:
7973
```yaml
8074
jobs:
8175
build-and-publish:
82-
uses: your-org/github-actions-workflows/.github/workflows/rust-build.yml@main
76+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/rust-build.yml@main
8377
with:
8478
publish-crates-io: true
8579
secrets:

0 commit comments

Comments
 (0)