diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 9e0891f8..c03cca9f 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -49,15 +49,14 @@ jobs: steps: - name: Create Pre Release - uses: actions/create-release@v2 + uses: softprops/action-gh-release@v2 env: - BUILD: ${{ needs.prepare.outputs.build_number }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ needs.prepare.outputs.release }} with: - tag_name: build/${{ env.VERSION }}/${{ env.BUILD }} - release_name: ${{ needs.prepare.outputs.version }} + tag_name: build/${{ needs.prepare.outputs.release }}/${{ needs.prepare.outputs.build_number }} + name: ${{ needs.prepare.outputs.release }}.${{ needs.prepare.outputs.build_number }} body: ${{ github.event.head_commit.message }} + target_commitish: master prerelease: true draft-release: @@ -80,7 +79,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ needs.prepare.outputs.release }} - release_name: ${{ needs.prepare.outputs.release }} + name: ${{ needs.prepare.outputs.release }} body: ${{ needs.prepare.outputs.release_notes }} draft: true diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index d755c446..da6bff32 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -29,7 +29,7 @@ jobs: needs: prepare steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup Python 3.7 uses: actions/setup-python@v4 @@ -45,7 +45,7 @@ jobs: run: make package PYTHON=python version=${{ steps.version.outputs.value }} - name: Upload Pipeline Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: retention-days: 1 name: built-artifacts @@ -60,7 +60,7 @@ jobs: - package steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: built-artifacts path: dist/ @@ -79,7 +79,7 @@ jobs: - package steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: built-artifacts path: dist/ diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 483c3e76..c87dc96b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup Python 3.7 uses: actions/setup-python@v4 with: python-version: '3.7' - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af016c25..1dd93bf1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: version: ${{ steps.version.outputs.value }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Version id: version @@ -38,7 +38,7 @@ jobs: run: make package PYTHON=python version=${{ steps.version.outputs.value }} - name: Upload Pipeline Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: retention-days: 1 name: built-artifacts @@ -51,7 +51,7 @@ jobs: needs: package steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: built-artifacts path: dist/ @@ -68,7 +68,7 @@ jobs: needs: package steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: built-artifacts path: dist/