Skip to content

Commit

Permalink
chore: use release-plz and ensure that generated id is funded on a ne…
Browse files Browse the repository at this point in the history
…twork (#8)
  • Loading branch information
willemneal authored Sep 2, 2023
1 parent 793f1ac commit c02010f
Show file tree
Hide file tree
Showing 18 changed files with 242 additions and 437 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:

release-plz:
name: Release-plz
runs-on: ubuntu-22.04
steps:
# Generating a GitHub token, so that PRs and tags created by
# the release-plz-action can trigger actions workflows.
- name: Generate GitHub token
uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@main
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target/
.soroban
!./.soroban/network/standalone.toml

!.soroban/network/futurenet/contract_id.json
1 change: 1 addition & 0 deletions .soroban/network/futurenet/smartdeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"CCN3XEQTTYTM3UKOGOTCYSO4647XE3KJHEUSWTMXLFQ5KALGDWX6CBS2"
Loading

0 comments on commit c02010f

Please sign in to comment.