From 815f3e359e154358be08ae6d66437d97d6c6d7a5 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Wed, 18 Oct 2023 18:39:11 +0200 Subject: [PATCH 1/3] Fix deprectations in gh-action "release" --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 75e5e48d..35e8b824 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -70,9 +70,9 @@ jobs: run: | if [[ "${{ steps.last_release.outputs.tag_name }}" == "${{ env.tag_full }}" ]]; then - echo "::set-output name=release_existing::true" + echo "release_existing=true" >> $GITHUB_OUTPUT else - echo "::set-output name=release_existing::false" + echo "release_existing=false" >> $GITHUB_OUTPUT fi - name: Create release From 711cc939e01d5f22ae675004185638425ae30990 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Wed, 18 Oct 2023 18:48:08 +0200 Subject: [PATCH 2/3] Use Py3.10 for gh-action "release" --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 35e8b824..88b31781 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,10 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: '3.10' - name: Install & Upgrade Pip run: | From 817ca1388230517cc3c4fee4655c93ef4c5e59d9 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Tue, 10 Sep 2024 08:08:05 +0200 Subject: [PATCH 3/3] Fix lint and release workflows gh-actions warnings by upgrading them to current versions. --- .github/workflows/lint.yaml | 6 +++--- .github/workflows/release.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 34d64746..39bfed53 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -8,13 +8,13 @@ jobs: name: Lint with flake8 steps: - name: Check out source repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Run flake8 - uses: py-actions/flake8@v2 + uses: py-actions/flake8@v2.3.0 with: exclude: "setup.py" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 88b31781..990903b0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,10 +12,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -50,7 +50,7 @@ jobs: - name: "Get latest release" id: last_release - uses: InsonusK/get-latest-release@v1.0.1 + uses: InsonusK/get-latest-release@v1.1.0 with: myToken: ${{ secrets.GITHUB_TOKEN }} exclude_types: ""