Skip to content

Commit

Permalink
Revert "feat: airdrop transfer contract #ntrn-116 (#1)"
Browse files Browse the repository at this point in the history
This reverts commit c5b82cf.
  • Loading branch information
NeverHappened authored Oct 17, 2023
1 parent c5b82cf commit 27312b8
Show file tree
Hide file tree
Showing 63 changed files with 73 additions and 6,807 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install toolchain
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71
toolchain: 1.60.0
override: true
components: rustfmt, clippy

Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: release wasm

on:
release:
types: [created]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install cargo-run-script
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-run-script
- name: Run cargo optimize
uses: actions-rs/cargo@v1
with:
command: run-script
args: optimize
- name: Get release ID
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload optimized wasm
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./artifacts/*.wasm
tag: ${{ github.ref }}
overwrite: true
file_glob: true
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@
# IDEs
*.iml
.idea

# Built artifacts
/artifacts
Loading

0 comments on commit 27312b8

Please sign in to comment.