Skip to content

Commit 8b1650c

Browse files
committed
;ci: rename the static linux things
1 parent e8cb743 commit 8b1650c

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/static-linux-arm32v7.yml renamed to .github/workflows/linux-static-arm32v7.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@ jobs:
2727
with:
2828
file: ./docker-static-arm32v7/Dockerfile
2929
platforms: linux/arm
30-
tags: hledger-static-linux-arm32v7:latest
30+
tags: hledger-linux-static-arm32v7:latest
3131
load: true
3232

3333
- name: Extract binaries from docker
3434
run: |
3535
# Create temporary container from it
36-
container_id=$(docker create hledger-static-linux-arm32v7:latest)
36+
container_id=$(docker create hledger-linux-static-arm32v7:latest)
3737
# Copy stuff from temp container
38-
docker cp $container_id:/root/hledger /tmp/hledger-static-linux-arm32v7
38+
docker cp $container_id:/root/hledger /tmp/hledger-linux-static-arm32v7
3939
# Delete temp container
4040
docker rm -v $container_id
4141
4242
- name: Upload binary
4343
uses: actions/upload-artifact@v2
4444
with:
45-
name: Static Binary
46-
path: /tmp/hledger-static-linux-arm32v7
45+
name: hledger-linux-static-arm32v7
46+
path: /tmp/hledger-linux-static-arm32v7
4747

4848
- name: Release
4949
uses: softprops/action-gh-release@v1
5050
if: startsWith(github.ref, 'refs/tags/')
5151
with:
52-
files: /tmp/hledger-static-linux-arm32v7
52+
files: /tmp/hledger-linux-static-arm32v7
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/static-linux.yml renamed to .github/workflows/linux-static-x64.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ jobs:
3636
- name: Extract and strip binaries
3737
run: |
3838
mkdir /tmp/hledger
39-
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-web-*/x/hledger-web/build/hledger-web/hledger-web /tmp/hledger/hledger-web-static-linux-x64
40-
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-ui-*/x/hledger-ui/build/hledger-ui/hledger-ui /tmp/hledger/hledger-ui-static-linux-x64
41-
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-*/x/hledger/build/hledger/hledger /tmp/hledger/hledger-static-linux-x64
42-
strip /tmp/hledger/hledger-web-static-linux-x64
43-
strip /tmp/hledger/hledger-ui-static-linux-x64
44-
strip /tmp/hledger/hledger-static-linux-x64
39+
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-web-*/x/hledger-web/build/hledger-web/hledger-web /tmp/hledger/hledger-web-linux-static-x64
40+
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-ui-*/x/hledger-ui/build/hledger-ui/hledger-ui /tmp/hledger/hledger-ui-linux-static-x64
41+
cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-*/x/hledger/build/hledger/hledger /tmp/hledger/hledger-linux-static-x64
42+
strip /tmp/hledger/hledger-web-linux-static-x64
43+
strip /tmp/hledger/hledger-ui-linux-static-x64
44+
strip /tmp/hledger/hledger-linux-static-x64
4545
4646
- name: Upload binaries
4747
uses: actions/upload-artifact@v2
4848
with:
49-
name: Static Binaries
49+
name: hledger-linux-static-x64
5050
path: /tmp/hledger
5151

5252
- name: Release
5353
uses: softprops/action-gh-release@v1
5454
if: startsWith(github.ref, 'refs/tags/')
5555
with:
5656
files: |
57-
/tmp/hledger/hledger-static-linux-x64
58-
/tmp/hledger/hledger-web-static-linux-x64
59-
/tmp/hledger/hledger-ui-static-linux-x64
57+
/tmp/hledger/hledger-linux-static-x64
58+
/tmp/hledger/hledger-web-linux-static-x64
59+
/tmp/hledger/hledger-ui-linux-static-x64
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)