-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add upload to registry workflow for foundry_std
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -249,6 +249,27 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TAG: ${{ steps.create-release.outputs.computed-prefix }}${{ steps.create-release.outputs.version }} | ||
|
||
upload-to-registry: | ||
name: Upload new snforge_std and sncast_std versions to the registry | ||
runs-on: ubuntu-latest | ||
needs: [ create-release, verify-version ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# todo: Use scarb version from tool-versions | ||
- uses: software-mansion/[email protected] | ||
with: | ||
scarb-version: "2.8.2" | ||
- name: Package and upload snforge_std | ||
working-directory: ./snforge_std | ||
env: | ||
SCARB_REGISTRY_AUTH_TOKEN: ${{ secrets.SCARB_REGISTRY_AUTH_TOKEN }} | ||
run: scarb publish | ||
- name: Package and upload sncast_std | ||
working-directory: ./sncast_std | ||
env: | ||
SCARB_REGISTRY_AUTH_TOKEN: ${{ secrets.SCARB_REGISTRY_AUTH_TOKEN }} | ||
run: scarb publish | ||
|
||
deploy-docs: | ||
name: Deploy documentation | ||
needs: [ create-release, verify-version ] | ||
|
This file contains 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
This file contains 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