6
0

How does workflow work?

This commit is contained in:
Jon Michael Aanes 2023-12-12 14:20:39 +01:00
parent 7f4cae189d
commit f2b1c54131

View File

@ -18,7 +18,7 @@ jobs:
apt-get update apt-get update
apt-get install -y python3 python3-pip apt-get install -y python3 python3-pip
- name: Installing dependencies - name: Installing dependencies
run: python3 -m pip install --upgrade pip setuptools wheel pytest run: python3 -m pip install --upgrade pip setuptools wheel build twine
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Test - name: Test
@ -27,14 +27,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test] needs: [test]
steps: steps:
- name: Setting up python
run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Installing dependencies
run: python3 -m pip install --upgrade pip setuptools wheel build twine
- name: Check out repository code
uses: actions/checkout@v3
- name: Build - name: Build
run: python3 -m build run: python3 -m build
- name: Publish - name: Publish