Skip to content

Commit

Permalink
ci: update remaining actions versions (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenextman authored Apr 3, 2024
1 parent 2627c52 commit 01ee6f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure runner
run: rustup target add ${{ matrix.arch }}-${{ matrix.platform }}
Expand All @@ -47,7 +47,7 @@ jobs:
echo "binary-path=$Path" >> $Env:GITHUB_OUTPUT
- name: Upload binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tool }}-${{ matrix.arch }}-${{ matrix.platform }}
path: ${{ steps.get-binary-path.outputs.binary-path }}
Expand All @@ -62,7 +62,7 @@ jobs:

steps:
- name: Download binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Configure runner
run: |
Expand All @@ -82,7 +82,7 @@ jobs:
Invoke-Expression $LipoCmd
- name: Upload binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tool }}-universal-apple-darwin
path: ${{ matrix.tool }}-universal-apple-darwin/${{ matrix.tool }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:

steps:
- name: Download binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Get binary path
id: get-binary-path
Expand Down Expand Up @@ -192,10 +192,11 @@ jobs:
}
- name: Upload binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tool }}-${{ matrix.arch }}-${{ matrix.platform }}
path: ${{ steps.get-binary-path.outputs.binary-path }}
overwrite: true

- name: Create universal package
if: matrix.platform == 'apple-darwin' && matrix.arch == 'universal'
Expand All @@ -215,7 +216,7 @@ jobs:
- name: Upload package
if: matrix.platform == 'apple-darwin' && matrix.arch == 'universal'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tool }}-${{ matrix.arch }}-${{ matrix.platform }}
path: ${{ matrix.tool }}.dmg
16 changes: 8 additions & 8 deletions .github/workflows/publish-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Dry run'
required: true
type: boolean
default: 'true'
default: true
schedule:
- cron: '49 3 * * 1' # 3:49 AM UTC every Monday

Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

steps:
- name: Check out ${{ github.repository }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build
shell: pwsh
Expand All @@ -66,7 +66,7 @@ jobs:
Get-ChildItem -Path $Path -Recurse *.snupkg | ForEach { Copy-Item $_ "./nuget-packages" }
- name: Upload packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nupkg
path: |
Expand All @@ -79,7 +79,7 @@ jobs:

steps:
- name: Check out ${{ github.repository }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build
shell: pwsh
Expand All @@ -93,7 +93,7 @@ jobs:
Get-ChildItem -Path $Path -Recurse *.tgz | ForEach { Copy-Item $_ "./npm-packages" }
- name: Upload packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: npm
path: npm-packages/*.tgz
Expand All @@ -109,7 +109,7 @@ jobs:

steps:
- name: Download NuGet packages artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nupkg
path: nuget-packages
Expand Down Expand Up @@ -150,10 +150,10 @@ jobs:

steps:
- name: Check out ${{ github.repository }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download NPM packages artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: npm
path: npm-packages
Expand Down

0 comments on commit 01ee6f1

Please sign in to comment.