From 56a94cfe95aa35889d73308887766b5fc5da8a6d Mon Sep 17 00:00:00 2001 From: Orion Edwards Date: Mon, 27 Nov 2023 19:57:51 +1300 Subject: [PATCH] Update GitHub actions dependencies (#69) --- .github/workflows/main.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34e3910..a03d9e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,12 +31,12 @@ jobs: build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # all - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x @@ -53,7 +53,7 @@ jobs: - name: Tag release (when not pre-release) 🏷️ id: github-tag if: ${{ github.event_name != 'schedule' && !contains( steps.build.outputs.octoversion_fullsemver, '-' ) }} - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -64,13 +64,8 @@ jobs: sha: context.sha }) - - name: Install Octopus CLI 🐙 - uses: OctopusDeploy/install-octopus-cli-action@v1.1.7 - with: - version: latest - - name: Push to Octopus 🐙 - uses: OctopusDeploy/push-package-action@v1.1.1 + uses: OctopusDeploy/push-package-action@v3 with: server: ${{ secrets.DEPLOY_URL }} space: Integrations @@ -79,7 +74,7 @@ jobs: ./artifacts/Octopus.Versioning.${{ steps.build.outputs.octoversion_fullsemver }}.nupkg - name: Create Release in Octopus 🐙 - uses: OctopusDeploy/create-release-action@v1.1.1 + uses: OctopusDeploy/create-release-action@v3 with: server: ${{ secrets.DEPLOY_URL }} space: Integrations