Skip to content

Commit e346f20

Browse files
authored
Merge pull request #1404 from opentensor/feat/roman/artifacts
save files artifacts
2 parents 2422d43 + ea6116f commit e346f20

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.github/workflows/push-nodes.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: PR Build and Merge
22

3-
permissions:
4-
- write
5-
63
on:
74
pull_request:
85
branches:
@@ -13,7 +10,7 @@ jobs:
1310
permissions:
1411
pull-requests: write
1512
runs-on: ubuntu-latest
16-
if: github.event.pull_request.merged
13+
# if: github.event.pull_request.merged
1714
steps:
1815
- name: Checkout code
1916
uses: actions/checkout@v3
@@ -47,16 +44,22 @@ jobs:
4744
chmod +x scripts/localnet.sh
4845
./scripts/localnet.sh --build-only
4946
50-
- name: Create a files
51-
working-directory: ${{ github.workspace }}
52-
run: |
53-
mkdir -p ${{ github.workspace }}/nodes/fast-blocks/release
54-
mkdir -p ${{ github.workspace }}/nodes/non-fast-blocks/release
55-
echo "fast-blocks" > ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
56-
echo "non-fast-blocks" > ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
47+
# - name: Create a files
48+
# working-directory: ${{ github.workspace }}
49+
# run: |
50+
# mkdir -p ${{ github.workspace }}/nodes/fast-blocks/release
51+
# mkdir -p ${{ github.workspace }}/nodes/non-fast-blocks/release
52+
# echo "fast-blocks" > ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
53+
# echo "non-fast-blocks" > ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
54+
55+
- name: Upload fast-blocks
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: fast-blocks
59+
path: ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
5760

58-
- name: Upload artifact
59-
uses: actions/upload-artifact@v3
61+
- name: Upload non-fast-blocks
62+
uses: actions/upload-artifact@v4
6063
with:
61-
name: my-artifact
62-
path: ${{ github.workspace }}/nodes
64+
name: non-fast-blocks
65+
path: ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
-64.7 MB
Binary file not shown.
-64.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)