Skip to content

Commit 03079a5

Browse files
author
Flaxseed
committed
Version 0.1.4
1 parent 0038222 commit 03079a5

File tree

592 files changed

+3390
-10723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

592 files changed

+3390
-10723
lines changed

.flake8

Lines changed: 0 additions & 1 deletion
This file was deleted.

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
max-line-length = 120
3+
exclude = ./typings/**/*
4+
ignore = E203,W503

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ assignees: ''
88
---
99

1010
**Describe the bug**
11-
<!-- A clear and concise description of what the bug is. (If what you are experiencing is NOT a bug but instead a support issue, please open a Discussion instead!) -->
11+
A clear and concise description of what the bug is. (If what you are experiencing is NOT a bug but instead a support issue, please open a Discussion instead!)
1212

1313
**To Reproduce**
14-
1514
Steps to reproduce the behavior:
1615

1716
1. Go to '...'
@@ -20,17 +19,16 @@ Steps to reproduce the behavior:
2019
4. See error
2120

2221
**Expected behavior**
23-
<!-- A clear and concise description of what you expected to happen. -->
22+
A clear and concise description of what you expected to happen.
2423

2524
**Screenshots**
26-
<!-- If applicable, add screenshots to help explain your problem. -->
25+
If applicable, add screenshots to help explain your problem.
2726

28-
**Desktop**
29-
<!-- Please complete the following information. -->
27+
**Desktop (please complete the following information):**
3028

31-
- OS: <!-- e.g. Linux -->
32-
- OS Version/Flavor: <!-- e.g. CentOS 7.2 -->
33-
- CPU: <!-- e.g. Intel Xeon 8175M -->
29+
- OS: [e.g. Linux]
30+
- OS Version/Flavor: [e.g. CentOS 7.2]
31+
- CPU: [e.g. Intel Xeon 8175M]
3432

3533
**Additional context**
36-
<!-- Add any other context about the problem here. -->
34+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ contact_links:
22
- about: Ask a question or request support here
33
name: Ask for Support
44
url: >-
5-
https://github.com/Chia-Network/chia-blockchain/discussions/new?category=support
5+
https://github.com/Flax-Network/flax-blockchain/discussions/new?category=support
66
- about: Request a new feature or idea here
77
name: Make a Request
88
url: >-
9-
https://github.com/Chia-Network/chia-blockchain/discussions/new?category=ideas
10-
- about: Get support on the Chia Keybase chat channels.
11-
name: Join the Keybase.io support chat
12-
url: 'https://keybase.io/team/chia_network.public'
9+
https://github.com/Flax-Network/flax-blockchain/discussions/new?category=ideas
10+
- about: Get support on the Flax Discord chat channels.
11+
name: Join the Discord.io support chat
12+
url: 'https://discord.gg/TgJyxsEFFc'

.github/dependabot.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/build-linux-arm64-installer.yml

Lines changed: 4 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
build:
1515
name: Linux ARM64 installer on Python 3.8
1616
runs-on: ${{ matrix.os }}
17-
timeout-minutes: 40
17+
timeout-minutes: 120
1818
strategy:
1919
fail-fast: false
2020
max-parallel: 4
@@ -45,19 +45,9 @@ jobs:
4545
python3 -m venv ../venv
4646
. ../venv/bin/activate
4747
pip3 install setuptools_scm
48-
echo "::set-output name=CHIA_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
48+
echo "::set-output name=FLAX_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
4949
deactivate
5050
51-
- name: Test for secrets access
52-
id: check_secrets
53-
shell: bash
54-
run: |
55-
unset HAS_SECRET
56-
if [ -n "$SECRET" ]; then HAS_SECRET='true' ; fi
57-
echo ::set-output name=HAS_SECRET::${HAS_SECRET}
58-
env:
59-
SECRET: "${{ secrets.INSTALLER_UPLOAD_SECRET }}"
60-
6151
- name: Build ARM64 Installer
6252
run: |
6353
podman run --rm=true \
@@ -95,78 +85,15 @@ jobs:
9585
name: Linux-ARM-64-Installer
9686
path: ${{ github.workspace }}/build_scripts/final_installer/
9787

98-
- name: Install AWS CLI
99-
if: steps.check_secrets.outputs.HAS_SECRET
100-
run: |
101-
sudo apt-get install -y awscli
102-
103-
- name: Configure AWS Credentials
104-
if: steps.check_secrets.outputs.HAS_SECRET
105-
uses: aws-actions/configure-aws-credentials@v1
106-
with:
107-
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
108-
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
109-
aws-region: us-west-2
110-
111-
- name: Upload to s3
112-
env:
113-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
114-
if: steps.check_secrets.outputs.HAS_SECRET
115-
run: |
116-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb s3://download-chia-net/builds/
117-
11888
- name: Create Checksums
11989
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
12090
env:
121-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
91+
FLAX_INSTALLER_VERSION: ${{ steps.version_number.outputs.FLAX_INSTALLER_VERSION }}
12292
run: |
12393
ls ${{ github.workspace }}/build_scripts/final_installer/
124-
sha256sum ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb > ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb.sha256
125-
ls ${{ github.workspace }}/build_scripts/final_installer/
126-
127-
- name: Install py3createtorrent
128-
if: startsWith(github.ref, 'refs/tags/')
129-
run: |
130-
pip3 install py3createtorrent
131-
132-
- name: Create torrent
133-
if: startsWith(github.ref, 'refs/tags/')
134-
env:
135-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
136-
run: |
137-
py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb -o ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb.torrent --webseed https://download-chia-net.s3.us-west-2.amazonaws.com/install/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb
94+
sha256sum ${{ github.workspace }}/build_scripts/final_installer/flax-blockchain_${FLAX_INSTALLER_VERSION}_arm64.deb > ${{ github.workspace }}/build_scripts/final_installer/flax-blockchain_${FLAX_INSTALLER_VERSION}_arm64.deb.sha256
13895
ls ${{ github.workspace }}/build_scripts/final_installer/
13996
140-
- name: Upload Beta Installer
141-
if: steps.check_secrets.outputs.HAS_SECRET && github.ref == 'refs/heads/main'
142-
env:
143-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
144-
run: |
145-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb s3://download-chia-net/beta/chia-blockchain_arm64_latest_beta.deb
146-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb.sha256 s3://download-chia-net/beta/chia-blockchain_arm64_latest_beta.deb.sha256
147-
148-
- name: Upload Release Files
149-
if: steps.check_secrets.outputs.HAS_SECRET && startsWith(github.ref, 'refs/tags/')
150-
env:
151-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
152-
run: |
153-
ls ${{ github.workspace }}/build_scripts/final_installer/
154-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb s3://download-chia-net/install/
155-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb.sha256 s3://download-chia-net/install/
156-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_arm64.deb.torrent s3://download-chia-net/torrents/
157-
158-
- name: Get tag name
159-
if: startsWith(github.ref, 'refs/tags/')
160-
id: tag-name
161-
run: |
162-
echo "::set-output name=TAG_NAME::$(echo ${{ github.ref }} | cut -d'/' -f 3)"
163-
echo "::set-output name=REPO_NAME::$(echo ${{ github.repository }} | cut -d'/' -f 2)"
164-
165-
- name: Mark installer complete
166-
if: startsWith(github.ref, 'refs/tags/')
167-
run: |
168-
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"chia_ref": "${{ steps.tag-name.outputs.TAG_NAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ steps.tag-name.outputs.REPO_NAME }}/${{ steps.tag-name.outputs.TAG_NAME }}/success/build-arm
169-
17097
- name: Clean up on self hosted runner
17198
run: |
17299
sudo rm -rf build_scripts/final_installer

.github/workflows/build-linux-installer-deb.yml

Lines changed: 4 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
python3 -m venv ../venv
7979
. ../venv/bin/activate
8080
pip3 install setuptools_scm
81-
echo "::set-output name=CHIA_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
81+
echo "::set-output name=FLAX_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
8282
deactivate
8383
8484
- name: Test for secrets access
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
. ./activate
113113
ldd --version
114-
cd ./chia-blockchain-gui
114+
cd ./flax-blockchain-gui
115115
git status
116116
cd ../build_scripts
117117
sh build_linux_deb.sh amd64
@@ -122,69 +122,11 @@ jobs:
122122
name: Linux-Installers
123123
path: ${{ github.workspace }}/build_scripts/final_installer/
124124

125-
- name: Configure AWS Credentials
126-
if: steps.check_secrets.outputs.HAS_SECRET
127-
uses: aws-actions/configure-aws-credentials@v1
128-
with:
129-
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
130-
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
131-
aws-region: us-west-2
132-
133-
- name: Upload to s3
134-
if: steps.check_secrets.outputs.HAS_SECRET
135-
env:
136-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
137-
run: |
138-
ls ${{ github.workspace }}/build_scripts/final_installer/
139-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb s3://download-chia-net/builds/
140-
141125
- name: Create Checksums
142126
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
143127
env:
144-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
128+
FLAX_INSTALLER_VERSION: ${{ steps.version_number.outputs.FLAX_INSTALLER_VERSION }}
145129
run: |
146130
ls ${{ github.workspace }}/build_scripts/final_installer/
147-
sha256sum ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb > ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb.sha256
131+
sha256sum ${{ github.workspace }}/build_scripts/final_installer/flax-blockchain_${FLAX_INSTALLER_VERSION}_amd64.deb > ${{ github.workspace }}/build_scripts/final_installer/flax-blockchain_${FLAX_INSTALLER_VERSION}_amd64.deb.sha256
148132
ls ${{ github.workspace }}/build_scripts/final_installer/
149-
150-
- name: Install py3createtorrent
151-
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
152-
run: |
153-
pip3 install py3createtorrent
154-
155-
- name: Create .deb torrent
156-
env:
157-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
158-
if: startsWith(github.ref, 'refs/tags/')
159-
run: |
160-
py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb -o ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb.torrent --webseed https://download-chia-net.s3.us-west-2.amazonaws.com/install/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb
161-
ls
162-
163-
- name: Upload Beta Installer
164-
if: steps.check_secrets.outputs.HAS_SECRET && github.ref == 'refs/heads/main'
165-
env:
166-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
167-
run: |
168-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb s3://download-chia-net/beta/chia-blockchain_amd64_latest_beta.deb
169-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb.sha256 s3://download-chia-net/beta/chia-blockchain_amd64_latest_beta.deb.sha256
170-
171-
- name: Upload Release Files
172-
env:
173-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
174-
if: steps.check_secrets.outputs.HAS_SECRET && startsWith(github.ref, 'refs/tags/')
175-
run: |
176-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb s3://download-chia-net/install/
177-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb.sha256 s3://download-chia-net/install/
178-
aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_amd64.deb.torrent s3://download-chia-net/torrents/
179-
180-
- name: Get tag name
181-
if: startsWith(github.ref, 'refs/tags/')
182-
id: tag-name
183-
run: |
184-
echo "::set-output name=TAG_NAME::$(echo ${{ github.ref }} | cut -d'/' -f 3)"
185-
echo "::set-output name=REPO_NAME::$(echo ${{ github.repository }} | cut -d'/' -f 2)"
186-
187-
- name: Mark installer complete
188-
if: startsWith(github.ref, 'refs/tags/')
189-
run: |
190-
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"chia_ref": "${{ steps.tag-name.outputs.TAG_NAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ steps.tag-name.outputs.REPO_NAME }}/${{ steps.tag-name.outputs.TAG_NAME }}/success/build-linux-deb

.github/workflows/build-linux-installer-rpm.yml

Lines changed: 4 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,9 @@ jobs:
4747
python3 -m venv ../venv
4848
. ../venv/bin/activate
4949
pip3 install setuptools_scm
50-
echo "::set-output name=CHIA_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
50+
echo "::set-output name=FLAX_INSTALLER_VERSION::$(python3 ./build_scripts/installer-version.py)"
5151
deactivate
5252
53-
- name: Test for secrets access
54-
id: check_secrets
55-
shell: bash
56-
run: |
57-
unset HAS_SECRET
58-
if [ -n "$SECRET" ]; then HAS_SECRET='true' ; fi
59-
echo ::set-output name=HAS_SECRET::${HAS_SECRET}
60-
env:
61-
SECRET: "${{ secrets.INSTALLER_UPLOAD_SECRET }}"
62-
6353
- name: Run install script
6454
env:
6555
INSTALL_PYTHON_VERSION: ${{ matrix.python-version }}
@@ -71,7 +61,7 @@ jobs:
7161
run: |
7262
. ./activate
7363
ldd --version
74-
cd ./chia-blockchain-gui
64+
cd ./flax-blockchain-gui
7565
git status
7666
cd ../build_scripts
7767
sh build_linux_rpm.sh amd64
@@ -82,69 +72,11 @@ jobs:
8272
name: Linux-Installers
8373
path: ${{ github.workspace }}/build_scripts/final_installer/
8474

85-
- name: Configure AWS Credentials
86-
if: steps.check_secrets.outputs.HAS_SECRET
87-
uses: aws-actions/configure-aws-credentials@v1
88-
with:
89-
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
90-
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
91-
aws-region: us-west-2
92-
93-
- name: Upload to s3
94-
if: steps.check_secrets.outputs.HAS_SECRET
95-
env:
96-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
97-
run: |
98-
ls $GITHUB_WORKSPACE/build_scripts/final_installer/
99-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download-chia-net/builds/
100-
10175
- name: Create Checksums
10276
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
10377
env:
104-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
78+
FLAX_INSTALLER_VERSION: ${{ steps.version_number.outputs.FLAX_INSTALLER_VERSION }}
10579
run: |
10680
ls $GITHUB_WORKSPACE/build_scripts/final_installer/
107-
sha256sum $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm > $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256
81+
sha256sum $GITHUB_WORKSPACE/build_scripts/final_installer/flax-blockchain-${FLAX_INSTALLER_VERSION}-1.x86_64.rpm > $GITHUB_WORKSPACE/build_scripts/final_installer/flax-blockchain-${FLAX_INSTALLER_VERSION}-1.x86_64.rpm.sha256
10882
ls $GITHUB_WORKSPACE/build_scripts/final_installer/
109-
110-
- name: Install py3createtorrent
111-
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
112-
run: |
113-
pip3 install py3createtorrent
114-
115-
- name: Create .rpm torrent
116-
if: startsWith(github.ref, 'refs/tags/')
117-
env:
118-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
119-
run: |
120-
py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm -o $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent --webseed https://download-chia-net.s3.us-west-2.amazonaws.com/install/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm
121-
ls
122-
123-
- name: Upload Beta Installer
124-
if: steps.check_secrets.outputs.HAS_SECRET && github.ref == 'refs/heads/main'
125-
env:
126-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
127-
run: |
128-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download-chia-net/beta/chia-blockchain-1.x86_64_latest_beta.rpm
129-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download-chia-net/beta/chia-blockchain-1.x86_64_latest_beta.rpm.sha256
130-
131-
- name: Upload Release Files
132-
if: steps.check_secrets.outputs.HAS_SECRET && startsWith(github.ref, 'refs/tags/')
133-
env:
134-
CHIA_INSTALLER_VERSION: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}
135-
run: |
136-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download-chia-net/install/
137-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download-chia-net/install/
138-
aws s3 cp $GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent s3://download-chia-net/torrents/
139-
140-
- name: Get tag name
141-
if: startsWith(github.ref, 'refs/tags/')
142-
id: tag-name
143-
run: |
144-
echo "::set-output name=TAG_NAME::$(echo ${{ github.ref }} | cut -d'/' -f 3)"
145-
echo "::set-output name=REPO_NAME::$(echo ${{ github.repository }} | cut -d'/' -f 2)"
146-
147-
- name: Mark installer complete
148-
if: startsWith(github.ref, 'refs/tags/')
149-
run: |
150-
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"chia_ref": "${{ steps.tag-name.outputs.TAG_NAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ steps.tag-name.outputs.REPO_NAME }}/${{ steps.tag-name.outputs.TAG_NAME }}/success/build-linux-rpm

0 commit comments

Comments
 (0)