Skip to content

Commit

Permalink
Removing deprecated setOutput from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fede2cr committed Jan 6, 2025
1 parent 9c97703 commit 35db871
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ jobs:
- uses: actions/checkout@v4
- run: cd src/ && cmake . && make && ls -lh ntttcp && file ntttcp

- name: Defines the name of the binary file
run: echo "::set-output name=version::$( basename $(ls src/ntttcp) )"
id: binary_filename

- name: Uploads binary file for x86-64
uses: actions/upload-artifact@v4
with:
name: ${{ steps.binary_filename.outputs.version }}-x86_64
name: ntttcp-x86_64
path: src/ntttcp
retention-days: 5

Expand All @@ -38,14 +34,10 @@ jobs:
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake file
cd src/ && cmake . && make && ls -lh ntttcp && file ntttcp
- name: Defines the name of the binary file
run: echo "::set-output name=version::$( basename $(ls src/ntttcp) )"
id: binary_filename

- name: Uploads binary file for aarch64
uses: actions/upload-artifact@v4
with:
name: ${{ steps.binary_filename.outputs.version }}-aarch64
name: ntttcp-aarch64
path: src/ntttcp
retention-days: 5

Expand Down

0 comments on commit 35db871

Please sign in to comment.