diff --git a/.github/workflows/publish-artifact.yml b/.github/workflows/publish-artifact.yml deleted file mode 100644 index 1f06098..0000000 --- a/.github/workflows/publish-artifact.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Publish Artifact - -on: - pull_request: - branches-ignore: - - 'dependabot**' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: 16 - - - name: Publish artifact - uses: actions/upload-artifact@v2 - with: - name: pioneer-uploader - path: dist - if-no-files-found: error \ No newline at end of file diff --git a/.github/workflows/tox-testing.yml b/.github/workflows/tox-testing.yml index eab117e..be5a430 100644 --- a/.github/workflows/tox-testing.yml +++ b/.github/workflows/tox-testing.yml @@ -23,3 +23,11 @@ jobs: - name: Run Tox run: tox + + - name: Publish artifact + if: github.event_name == 'pull_request' + uses: actions/upload-artifact@v2 + with: + name: pioneer-uploader + path: ./dist + if-no-files-found: error diff --git a/.gitignore b/.gitignore index 68bc17f..2b7cdc2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ __pycache__/ .Python build/ develop-eggs/ -dist/ downloads/ eggs/ .eggs/ diff --git a/tool-wiki.md b/BUILD.en.md similarity index 100% rename from tool-wiki.md rename to BUILD.en.md