Skip to content

Commit

Permalink
chore: bump actions (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 1, 2024
1 parent a4fa899 commit 3f7d742
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
steps:
- run: echo Is making new release? '${{ inputs.newRelease }}'
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: downloaded-artifacts

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
host-arch: x86_64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
build-args: |
HOST_ARCH=${{ matrix.host-arch }}
Expand All @@ -50,7 +50,7 @@ jobs:
run: |
(test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-alpine-${{ matrix.target-arch }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
target-node: [14, 16, 18, 20]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
build-args: |
PKG_FETCH_OPTION_n=node${{ matrix.target-node }}
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
(test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-linux-x64
Expand All @@ -53,13 +53,13 @@ jobs:
target-node: [14, 16, 18, 20]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
build-args: |
TARGET_TOOLCHAIN_ARCH=aarch64
Expand All @@ -79,7 +79,7 @@ jobs:
run: |
(test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-linux-arm64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-linuxstatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
host-arch: i686

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
build-args: |
HOST_ARCH=${{ matrix.host-arch }}
Expand All @@ -53,7 +53,7 @@ jobs:
run: |
(test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-linuxstatic-${{ matrix.target-arch }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
target-arch: [x64, arm64]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js 14
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 14

Expand All @@ -33,7 +33,7 @@ jobs:
run: |
if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) { echo ""EXISTS=true" >> $GITHUB_OUTPUT" } else { echo ""EXISTS=false" >> $GITHUB_OUTPUT" }
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-windows-${{ matrix.target-arch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ yarn-error.log
*.tsbuildinfo

shas.txt

/dist/

0 comments on commit 3f7d742

Please sign in to comment.