Sfoglia il codice sorgente

Update GitHub Actions workflows

Lutz Roeder 1 anno fa
parent
commit
e65e6ea138
2 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 4 1
      .github/workflows/build.yml
  2. 4 1
      .github/workflows/publish.yml

+ 4 - 1
.github/workflows/build.yml

@@ -29,11 +29,14 @@ jobs:
       - name: Install Python
         uses: actions/setup-python@v5
         with:
-          python-version: 3.11
+          python-version: 3.x
 
       - name: Install npm packages
         run: npm install
 
+      - name: Install Python packages
+        run: python -m pip install setuptools
+
       - name: Validate
         run: npm run validate
 

+ 4 - 1
.github/workflows/publish.yml

@@ -30,11 +30,14 @@ jobs:
       - name: Install Python
         uses: actions/setup-python@v5
         with:
-          python-version: 3.11
+          python-version: 3.x
 
       - name: Install npm packages 
         run: npm install
 
+      - name: Install Python packages
+        run: python -m pip install setuptools
+
       - name: Validate
         run: npm run validate