Skip to content

Commit

Permalink
Merge pull request #522 from mmerklinger/master
Browse files Browse the repository at this point in the history
Update Github Action versions in the CI/CD pipelines
  • Loading branch information
mmerklinger authored Mar 22, 2024
2 parents 8afed02 + 6b16abe commit 600527e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check version tag format
run: |
TAG_VERSION="${{ github.event.release.tag_name }}"
Expand All @@ -29,7 +29,7 @@ jobs:
needs: version-check
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand All @@ -52,7 +52,7 @@ jobs:
pyinstaller \
ci-scripts/linux/pyinstaller/pynitrokey-onefile.spec
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nitropy-onefile
path: dist/nitropy
Expand All @@ -65,7 +65,7 @@ jobs:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nitropy-onefile
- name: Rename binary
Expand All @@ -80,6 +80,6 @@ jobs:
nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz \
nitropy-${{ github.event.release.tag_name }}-x64-linux-binary
- name: Publish release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz
10 changes: 5 additions & 5 deletions .github/workflows/cd-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check version tag format
run: |
TAG_VERSION="${{ github.event.release.tag_name }}"
Expand All @@ -29,7 +29,7 @@ jobs:
needs: version-check
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand All @@ -45,7 +45,7 @@ jobs:
. venv/bin/activate
flit build
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nitropy-pypi
path: dist
Expand All @@ -56,11 +56,11 @@ jobs:
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nitropy-pypi
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/cd-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check version tag format
run: |
$VERSION_TAG="${{ github.event.release.tag_name }}"
Expand All @@ -29,7 +29,7 @@ jobs:
needs: version-check
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create virtual environment
run: |
python -m venv venv
Expand All @@ -49,7 +49,7 @@ jobs:
.\venv\Scripts\Activate.ps1
pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onedir.spec
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pynitrokey-onedir
path: dist/nitropy
Expand All @@ -59,7 +59,7 @@ jobs:
needs: version-check
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create virtual environment
run: |
python -m venv venv
Expand All @@ -79,7 +79,7 @@ jobs:
.\venv\Scripts\Activate.ps1
pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onefile.spec
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pynitrokey-onefile
path: dist/nitropy.exe
Expand All @@ -89,9 +89,9 @@ jobs:
needs: build-onedir
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: pynitrokey-onedir
path: dist/nitropy
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
.\Sources.wixobj `
-o nitropy.msi
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nitropy-installer
path: nitropy.msi
Expand All @@ -139,7 +139,7 @@ jobs:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: pynitrokey-onefile
- name: Rename binary
Expand All @@ -153,7 +153,7 @@ jobs:
nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip `
nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.exe
- name: Publish release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip
publish-msi-installer:
Expand All @@ -164,7 +164,7 @@ jobs:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nitropy-installer
- name: Rename installer
Expand All @@ -173,6 +173,6 @@ jobs:
nitropy.msi `
nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi
- name: Publish release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
container: python:3.9-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand All @@ -32,7 +32,7 @@ jobs:
container: python:3.9-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand All @@ -49,7 +49,7 @@ jobs:
container: python:3.9-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand All @@ -66,7 +66,7 @@ jobs:
container: python:3.9-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update
Expand Down

0 comments on commit 600527e

Please sign in to comment.