Skip to content

Commit 35d8bbc

Browse files
committed
Rename github workflow file and fix release
1 parent 7cf3dc5 commit 35d8bbc

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: main
1+
name: build
22
on: [push, pull_request]
33

44
jobs:
@@ -35,11 +35,10 @@ jobs:
3535
if: ${{ matrix.os == 'macos-latest-xlarge' }}
3636
run: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup -y && echo "~/Library/Application Support/Coursier/bin" >> $GITHUB_PATH
3737
- run: sbt test graalvm-native-image:packageBin
38-
- run: cp modules/cli/target/graalvm-native-image/tfr tfr-${{ runner.os }}-${{ runner.arch }}
3938
- uses: actions/upload-artifact@v4
4039
with:
4140
name: tfr-${{ runner.os }}-${{ runner.arch }}
42-
path: tfr-${{ runner.os }}-${{ runner.arch }}
41+
path: modules/cli/target/graalvm-native-image/tfr
4342
retention-days: 1
4443
release:
4544
name: Release
@@ -52,13 +51,13 @@ jobs:
5251
echo ${GITHUB_REF/refs\/tags\//}
5352
echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
5453
- uses: actions/download-artifact@v4
55-
- run: zip -j tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip tfr-Linux-X64
56-
- run: zip -j tfr-macOs-X64-${{ steps.get_version.outputs.version }}.zip tfr-macOs-X64
57-
- run: zip -j tfr-macOs-ARM64-${{ steps.get_version.outputs.version }}.zip tfr-macOs-ARM64
54+
- run: zip -j tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip tfr-Linux-X64/tfr
55+
- run: zip -j tfr-macOS-X64-${{ steps.get_version.outputs.version }}.zip tfr-macOS-X64/tfr
56+
- run: zip -j tfr-macOS-ARM64-${{ steps.get_version.outputs.version }}.zip tfr-macOS-ARM64/tfr
5857
- id: upload-release-assets
5958
uses: softprops/action-gh-release@v1
6059
with:
6160
files: |
6261
tfr-Linux-X64-${{ steps.get_version.outputs.version }}.zip
63-
tfr-macOs-X64-${{ steps.get_version.outputs.version }}.zip
64-
tfr-macOs-ARM64-${{ steps.get_version.outputs.version }}.zip
62+
tfr-macOS-X64-${{ steps.get_version.outputs.version }}.zip
63+
tfr-macOS-ARM64-${{ steps.get_version.outputs.version }}.zip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# tfreader ![](https://github.com/spotify/tfreader/workflows/main/badge.svg)
1+
# tfreader [![build](https://github.com/spotify/tfreader/actions/workflows/build.yml/badge.svg)](https://github.com/spotify/tfreader/actions/workflows/build.yml)
22

33
Simple native CLI tool to read `TensorFlow` `TFRecords`.
44

0 commit comments

Comments
 (0)