There was an error while loading. Please reload this page.
1 parent 3f5130c commit bb2d7dcCopy full SHA for bb2d7dc
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release Artifacts (Aptos)
2
+
3
+on:
4
+ push:
5
+ tags: ["v*"]
6
7
+jobs:
8
+ build-artifacts:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Install Aptos CLI
13
+ run: |
14
+ curl -sSL "https://aptos.dev/scripts/install_cli.py" | python3
15
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
16
+ aptos --version
17
+ - name: Build all projects
18
+ run: ./tools/check.sh
19
+ - name: Package artifacts
20
21
+ mkdir -p dist
22
+ for p in mytoken escrow simplenft minimarket; do
23
+ (cd "$p" && aptos move compile)
24
+ zip -r "dist/${p}-build.zip" "$p/build"
25
+ done
26
+ - name: Upload artifacts to release
27
+ uses: softprops/action-gh-release@v2
28
+ with:
29
+ files: dist/*.zip
0 commit comments