Skip to content

Commit

Permalink
gh-actions: blindly update github actions to newer version
Browse files Browse the repository at this point in the history
:)
  • Loading branch information
nikp123 committed Sep 5, 2024
1 parent f656a7a commit 09ffc06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/actions/prepare/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ runs:
using: 'composite'
steps:
# Differentiate between ACT and actual GitHub Actions
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
if: ${{ env.ACT }}
with:
driver: docker
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
if: ${{ !env.ACT }}
- name: Prepare image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
load: true
file: '.github/docker/${{ inputs.system }}/Dockerfile'
Expand Down
27 changes: 2 additions & 25 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,12 @@ jobs:

name: 🚧${{ matrix.icon }} ${{ matrix.system }} (${{ matrix.arch }})
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- uses: ./.github/actions/prepare
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}

- uses: ./.github/actions/compile
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}

- uses: ./.github/actions/upload
if: ${{ !env.ACT }}
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}

create-release:
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: rm -rf *
- uses: actions/download-artifact@v4

with
- name: Reorganize release files
run: |
ls -R
Expand Down

0 comments on commit 09ffc06

Please sign in to comment.