Skip to content

Commit

Permalink
Update GitHub actions dependencies (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
borland authored Nov 27, 2023
1 parent 1b8c9db commit 56a94cf
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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: |
Expand All @@ -64,13 +64,8 @@ jobs:
sha: context.sha
})
- name: Install Octopus CLI 🐙
uses: OctopusDeploy/[email protected]
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
Expand All @@ -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
Expand Down

0 comments on commit 56a94cf

Please sign in to comment.