Skip to content

Commit

Permalink
:optimize: use download for compile-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefEZ authored Mar 9, 2024
1 parent 3a62454 commit 74045d6
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/compile-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,8 @@ name: Ensure Scripts Compile
on: [push]

jobs:
build:
create-and-execute-script:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export
uses: docker/build-push-action@v5
with:
context: .
tags: congestionfrr:latest
outputs: type=docker,dest=/tmp/congestionfrr.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: congestionfrr
path: /tmp/congestionfrr.tar

use:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 74045d6

Please sign in to comment.