diff --git a/.github/workflows/Final.yml b/.github/workflows/Final.yml new file mode 100644 index 0000000..b0b3e0e --- /dev/null +++ b/.github/workflows/Final.yml @@ -0,0 +1,30 @@ +name: Python + +on: workflow_dispatch + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + + steps: + - name: Create a file + run: echo ${{ matrix.python-version }} > my_file.txt + + - name: Accidentally upload to the same artifact via multiple jobs + uses: actions/upload-artifact@v3 + + with: + name: my-artifact-${{ matrix.python-version }} + path: ${{ github.workspace }} + + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" diff --git a/.github/workflows/TEST-Python-test.yml b/.github/workflows/TEST-Python-test.yml new file mode 100644 index 0000000..0b0814c --- /dev/null +++ b/.github/workflows/TEST-Python-test.yml @@ -0,0 +1,20 @@ +name: Python + +on: workflow_dispatch + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" diff --git a/.github/workflows/TEST-output_by_version.yml b/.github/workflows/TEST-output_by_version.yml new file mode 100644 index 0000000..18d7424 --- /dev/null +++ b/.github/workflows/TEST-output_by_version.yml @@ -0,0 +1,24 @@ +name: Python + +on: workflow_dispatch + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Upload Artifacts + uses: actions/upload-Artifact@v3 + with: + name: python${{ matrix.python-verson }}_artifact diff --git a/.github/workflows/TEST-workflowspython-9-10.yml b/.github/workflows/TEST-workflowspython-9-10.yml new file mode 100644 index 0000000..b0b3e0e --- /dev/null +++ b/.github/workflows/TEST-workflowspython-9-10.yml @@ -0,0 +1,30 @@ +name: Python + +on: workflow_dispatch + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + + steps: + - name: Create a file + run: echo ${{ matrix.python-version }} > my_file.txt + + - name: Accidentally upload to the same artifact via multiple jobs + uses: actions/upload-artifact@v3 + + with: + name: my-artifact-${{ matrix.python-version }} + path: ${{ github.workspace }} + + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml deleted file mode 100644 index 1d5b89b..0000000 --- a/.github/workflows/gitleaks.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: gitleaks - -on: workflow_dispatch - -jobs: - scan: - name: gitleaks - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: gitleaks/gitleaks-action@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yml similarity index 99% rename from .github/workflows/python.yaml rename to .github/workflows/python.yml index 2715676..6d7b6e8 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yml @@ -4,6 +4,7 @@ on: workflow_dispatch jobs: build: + runs-on: ubuntu-latest strategy: matrix: diff --git a/file/7.txt b/file/7.txt new file mode 100644 index 0000000..c793025 --- /dev/null +++ b/file/7.txt @@ -0,0 +1 @@ +7 \ No newline at end of file diff --git a/file/8.txt b/file/8.txt new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/file/8.txt @@ -0,0 +1 @@ +8