From e7bbe286bccd1f0bab4d0c854e192493f6200711 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 2 Jan 2024 15:04:26 -0500 Subject: [PATCH] update actions --- .github/workflows/release.yml | 15 +++++++++++---- .github/workflows/tag.yml | 4 +++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 737889a..7a9aae1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: release +name: Release on: create: @@ -10,21 +10,28 @@ jobs: name: Release runs-on: ubuntu-latest steps: + - name: Create Release for new Tag uses: marvinpinto/action-automatic-releases@latest with: title: ArrAPI ${{ github.event.ref }} repo_token: ${{ secrets.PAT }} prerelease: false - - uses: actions/checkout@v3 + + - name: Check Out Repo + uses: actions/checkout@v4 + - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' + - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install wheel twine + pip install --no-cache-dir --upgrade --requirement requirements.txt + - name: Build and publish env: TWINE_USERNAME: __token__ diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index c6e32e5..67413f8 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -8,10 +8,12 @@ jobs: tag-new-versions: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + + - uses: actions/checkout@v4 with: token: ${{ secrets.PAT }} fetch-depth: 2 + - uses: salsify/action-detect-and-tag-new-version@v1.0.3 with: version-command: |