From 50e0cdfade71517c4a988aa49d5568f30d54f67b Mon Sep 17 00:00:00 2001 From: Richard Steinbrueck Date: Mon, 20 Mar 2023 10:53:14 +0100 Subject: [PATCH] fix: fix some workflow steps --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 12 +++--------- .github/workflows/update_package_url.yml | 6 +++--- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a629e3e..120221a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: - distro: debian-11 steps: - - name: Check out the codebase. + - name: 🔽 Checkout uses: actions/checkout@v3.3.0 with: path: "ansible-role-tenable-agent" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf445fa..2e7a6c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,4 @@ --- -# This workflow requires a GALAXY_API_KEY secret present in the GitHub -# repository or organization. -# -# See: https://github.com/marketplace/actions/publish-ansible-role-to-galaxy -# See: https://github.com/ansible/galaxy/issues/46 - name: Release "on": push: @@ -20,7 +14,7 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - name: Check out the codebase. + - name: 🔽 Checkout uses: actions/checkout@v3.3.0 with: path: "ansible-role-tenable-agent" @@ -28,10 +22,10 @@ jobs: - name: 🚀 Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: "pipenv" - - name: Install OS dependencies + - name: ⏬ Install OS dependencies run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev - name: ⏬ Install pipenv and dependencies diff --git a/.github/workflows/update_package_url.yml b/.github/workflows/update_package_url.yml index 09b4270..282d6a9 100644 --- a/.github/workflows/update_package_url.yml +++ b/.github/workflows/update_package_url.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: ⏬Checkout Repository + - name: 🔽 Checkout uses: actions/checkout@v3.3.0 - name: 🚀 Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10.10" + python-version: "3.11" cache: "pipenv" - - name: Install OS dependencies + - name: ⏬ Install OS dependencies run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev - name: ⏬ Install pipenv and dependencies