File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,24 @@ jobs:
3232 run : cargo build --release --target ${{ matrix.target }}
3333
3434 - name : Build hotkey helper
35+ if : runner.os == 'macOS'
3536 run : swiftc -O swift/main.swift -o calendarchy-hotkey
3637
37- - name : Package
38+ - name : Package (macOS)
39+ if : runner.os == 'macOS'
3840 run : |
3941 cp calendarchy-hotkey target/${{ matrix.target }}/release/
4042 cd target/${{ matrix.target }}/release
4143 tar czf ../../../calendarchy-${{ matrix.target }}.tar.gz calendarchy calendarchy-hotkey
4244 cd ../../..
4345
46+ - name : Package (Linux)
47+ if : runner.os == 'Linux'
48+ run : |
49+ cd target/${{ matrix.target }}/release
50+ tar czf ../../../calendarchy-${{ matrix.target }}.tar.gz calendarchy
51+ cd ../../..
52+
4453 - name : Upload artifact
4554 uses : actions/upload-artifact@v4
4655 with :
You can’t perform that action at this time.
0 commit comments