Repository: crypto-org-chain/chainlibpy (language: python)

Issue:
Problem: missing environment for ARTIFACTORY_NAME



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/check_and_upload.yml b/.github/workflows/check_and_upload.yml
deleted file mode 100644
index c3ba2de..0000000
--- a/.github/workflows/check_and_upload.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: check and upload
-
-on:
-  pull_request:
-  push:
-    branches:
-      - master
-
-jobs:
-  tox_test:
-    name: Tox test
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        tox_env: [py36, py37, py38, py39]
-    steps:
-    - uses: actions/checkout@v2
-    - name: Run Tox tests
-      id: test
-      uses: fedora-python/tox-github-action@master
-      with:
-        tox_env: ${{ matrix.tox_env }}
-  upload:
-    needs: [tox_test]
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - name: install dependencies
-        run: python3 -m pip install --user --upgrade setuptools wheel
-      - name: build
-        run: python3 setup.py sdist bdist_wheel
-      - name: install jfrog
-        run: curl -fL https://getcli.jfrog.io | sh
-      - name: upload to jfrog
-        run: ./jfrog rt config --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --access-token $ARTIFACTORY_PASSWORD --interactive=false &&
-          ./jfrog rt u "dist/*" "chainlibpy" --build-name=Crypto-Blockchain-PYPI --build-number=${{ github.run_id }} --flat=true
\ No newline at end of file
diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml
new file mode 100644
index 0000000..b9e4e93
--- /dev/null
+++ b/.github/workflows/upload.yml
@@ -0,0 +1,22 @@
+name: upload
+
+on:
+  push:
+    branches:
+      - master
+
+jobs:
+  upload:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: install dependencies
+        run: python3 -m pip install --user --upgrade setuptools wheel
+      - name: build
+        run: python3 setup.py sdist bdist_wheel
+      - name: install jfrog
+        run: curl -fL https://getcli.jfrog.io | sh
+      - name: upload to jfrog
+        run: | 
+          ./jfrog rt config --url "${{ secrets.ARTIFACTORY_URL }}" --user "${{ secrets.ARTIFACTORY_USER }}" --access-token "${{ secrets.ARTIFACTORY_PASSWORD }}" --interactive=false
+          ./jfrog rt u --build-name=Crypto-Blockchain-PYPI --build-number=${{ github.run_id }} --flat=true "dist/*" "${{ secrets.ARTIFACTORY_NAME }}"
\ No newline at end of file


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..0fc558b
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,22 @@
+name: test
+
+on:
+  pull_request:
+  push:
+    branches:
+      - master
+
+jobs:
+  tox_test:
+    name: Tox test
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        tox_env: [py36, py37, py38, py39]
+    steps:
+    - uses: actions/checkout@v2
+    - name: Run Tox tests
+      id: test
+      uses: fedora-python/tox-github-action@master
+      with:
+        tox_env: ${{ matrix.tox_env }}