Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .github/workflows/rustdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Publish rustdocs

on:
push:
branches:
- main
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: SubtensorCI

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install rustup
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Generate documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --document-private-items

- name: Fix file permissions
shell: sh
run: |
chmod -c -R +rX "target/doc" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Generate index.html file
run: |
echo "<meta http-equiv=refresh content=0;url=wasm_oidc_plugin/index.html>" > target/doc/index.html
- name: Upload documentation
uses: actions/upload-pages-artifact@v1
with:
path: ./target/doc

deploy:
needs: build
runs-on: SubtensorCI

permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.pages.outputs.page_url }}

steps:
- name: Deploy documentation
id: pages
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 268,
spec_version: 269,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
Loading