Skip to content

Commit

Permalink
bump github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp committed Oct 30, 2024
1 parent 8e94a00 commit c17d89e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: craft
runs-on: ubuntu-18.04 # FIXME: https://github.com/samuelmeuli/action-snapcraft/issues/24
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: samuelmeuli/action-snapcraft@v1
with:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Build snap
run: sg lxd -c 'snapcraft --use-lxd'

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: snapped
path: '*.snap'
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: DOCKER_BUILDKIT=1 docker build -o=. --target=sync . --progress=plain
- run: git --no-pager diff --exit-code
continue-on-error: true
Expand All @@ -32,17 +32,17 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: DOCKER_BUILDKIT=1 docker build -o=./bin/ --target=voidstar . --progress=plain
- run: ./bin/voidstar --help
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: voidstar_gcc_ubuntu
path: ./bin/voidstar
- run: DOCKER_BUILDKIT=1 docker build -o=. --target=video-gcc . --progress=plain
- run: mv ./bin/voidstar voidstar_gcc_ubuntu
- run: mv ./video.mp4 video_gcc_ubuntu.mp4
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: video-gcc_ubuntu
path: ./video_gcc_ubuntu.mp4
Expand All @@ -61,17 +61,17 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: DOCKER_BUILDKIT=1 docker build -o=./bin/ --target=voidstar-clang . --progress=plain
- run: ./bin/voidstar --help
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: voidstar_clang_ubuntu
path: ./bin/voidstar
- run: DOCKER_BUILDKIT=1 docker build -o=. --target=video-clang . --progress=plain
- run: mv ./bin/voidstar voidstar_clang_ubuntu
- run: mv ./video.mp4 video_clang_ubuntu.mp4
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: video-clang_ubuntu
path: ./video_clang_ubuntu.mp4
Expand All @@ -86,8 +86,8 @@ jobs:
name: on macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel
Expand All @@ -102,7 +102,7 @@ jobs:
chmod +w voidstar_clang_macos
strip voidstar_clang_macos
- run: ./voidstar_clang_macos --help
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: voidstar_macos-latest
path: voidstar_clang_macos
Expand All @@ -115,9 +115,9 @@ jobs:
name: on windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v1
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel
Expand All @@ -135,7 +135,7 @@ jobs:
# - run: ls -lha ./bazel-bin/voidstar/
# - run: strip ./bazel-bin/voidstar/voidstar.exe
# - run: ./bazel-bin/voidstar/voidstar.exe --help
# - uses: actions/upload-artifact@v2
# - uses: actions/upload-artifact@v4
# with:
# name: voidstar_windows-latest
# path: ./bazel-bin/voidstar/voidstar.exe
Expand Down

0 comments on commit c17d89e

Please sign in to comment.