-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from invariant-labs/add-vara-actions
add vara actions
- Loading branch information
Showing
6 changed files
with
64 additions
and
8 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
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 |
---|---|---|
|
@@ -36,9 +36,9 @@ jobs: | |
git config --global user.email [email protected] | ||
git config --global user.name invariantStats | ||
git add ./data/ | ||
git commit -m "Snapshots of data done!" | ||
git commit -m "Aleph Zero snapshot of data done!" | ||
- name: GitHub Push | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
branch: main |
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 |
---|---|---|
|
@@ -25,9 +25,9 @@ jobs: | |
git config --global user.email [email protected] | ||
git config --global user.name invariantStats | ||
git add ./data/ | ||
git commit -m "ALPH manual snapshot of data" | ||
git commit -m "Alephium snapshot of data done!" | ||
- name: GitHub Push | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
branch: main |
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 |
---|---|---|
|
@@ -59,9 +59,9 @@ jobs: | |
git config --global user.email [email protected] | ||
git config --global user.name invariantStats | ||
git add ./data/ | ||
git commit -m "Snapshot of data done!" | ||
git commit -m "SVM snapshot of data done!!" | ||
- name: GitHub Push | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
branch: main |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Manual vara snap" | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
vara-snap: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "20" | ||
- name: vara snapshot | ||
working-directory: ./vara | ||
run: | | ||
npm install | ||
npm run snap | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: vara-snapshot-${{ github.run_id }} | ||
path: | | ||
./data/vara/ | ||
- name: Commit changes | ||
run: | | ||
git config --global user.email [email protected] | ||
git config --global user.name invariantStats | ||
git add ./data/ | ||
git commit -m "Vara Network snapshot of data done!" | ||
- name: GitHub Push | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main |
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