Skip to content

Commit 03ecd6c

Browse files
authored
Create publish-linux-arm64.yaml
1 parent f8e2b79 commit 03ecd6c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
run-name: Build and upload CD artifacts
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: build shorty
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-dotnet@v4
14+
with:
15+
dotnet-version: '8.0.x'
16+
- run: cd src/Shorty && dotnet publish -r linux-arm64 /p:PublishSingleFile=true /p:SelfContained=true -o output
17+
- name: upload output
18+
- uses: actions/upload-artifact@v4
19+
with:
20+
name: shorty-latest
21+
path: src/Shorty/output
22+
if-no-files-found: fail
23+
overwrite: true

0 commit comments

Comments
 (0)