mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 23:30:19 +00:00
parent
80bf4aa4ff
commit
d378fe2509
39
.github/workflows/release.yml
vendored
39
.github/workflows/release.yml
vendored
@ -105,45 +105,6 @@ jobs:
|
|||||||
run: npm publish --access public
|
run: npm publish --access public
|
||||||
working-directory: aqua
|
working-directory: aqua
|
||||||
|
|
||||||
- name: Install ipfs
|
|
||||||
uses: nahsi/setup-ipfs@v1
|
|
||||||
|
|
||||||
- name: Create builtin distribution package
|
|
||||||
if: needs.release-please.outputs.trust-graph-release-created
|
|
||||||
run: ./builtin-package/package.sh
|
|
||||||
|
|
||||||
- name: Calculate SHA256
|
|
||||||
if: needs.release-please.outputs.trust-graph-release-created
|
|
||||||
id: sha
|
|
||||||
run: |
|
|
||||||
# Calculate sha256
|
|
||||||
du -hs trust-graph.tar.gz
|
|
||||||
sha256sum trust-graph.tar.gz
|
|
||||||
sha=($(sha256sum trust-graph.tar.gz))
|
|
||||||
echo "sha256=${sha}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Upload trust-graph package
|
|
||||||
if: needs.release-please.outputs.trust-graph-release-created
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
files: trust-graph.tar.gz
|
|
||||||
tag_name: ${{ needs.release-please.outputs.trust-graph-tag-name }}
|
|
||||||
|
|
||||||
- name: Update version in node-distro repo
|
|
||||||
if: needs.release-please.outputs.trust-graph-release-created
|
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
|
||||||
with:
|
|
||||||
workflow: update_service
|
|
||||||
repo: fluencelabs/node-distro
|
|
||||||
ref: "main"
|
|
||||||
token: ${{ secrets.PERSONAL_TOKEN }}
|
|
||||||
inputs: '{
|
|
||||||
"name": "trust-graph",
|
|
||||||
"version": "${{ needs.release-please.outputs.trust-graph-version }}",
|
|
||||||
"url": "https://github.com/fluencelabs/trust-graph/releases/download/${{ needs.release-please.outputs.trust-graph-tag-name }}/trust-graph.tar.gz",
|
|
||||||
"sha256": "${{ steps.sha.outputs.sha256 }}"
|
|
||||||
}'
|
|
||||||
|
|
||||||
slack:
|
slack:
|
||||||
if: always()
|
if: always()
|
||||||
name: "Notify"
|
name: "Notify"
|
||||||
|
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -57,15 +57,3 @@ jobs:
|
|||||||
|
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
working-directory: aqua
|
working-directory: aqua
|
||||||
|
|
||||||
- name: Install ipfs
|
|
||||||
uses: nahsi/setup-ipfs@v1
|
|
||||||
|
|
||||||
- name: Create distribution package
|
|
||||||
run: ./builtin-package/package.sh
|
|
||||||
|
|
||||||
- name: Upload trust-graph
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: trust-graph
|
|
||||||
path: trust-graph.tar.gz
|
|
||||||
|
Loading…
Reference in New Issue
Block a user