We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a2f1fa + d3d15b2 commit 32d9fd4Copy full SHA for 32d9fd4
.github/workflows/build_and_release.yml
@@ -0,0 +1,31 @@
1
+name: Build and Release
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build-linux:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4.2.2
17
+ - name: Set up Docker Buildx
18
+ uses: docker/setup-buildx-action@v3.10.0
19
+ - name: Get version
20
+ id: get_version
21
+ run: |
22
+ echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV
23
+ - name: Build Linux
24
+ run: DOCKER_BUILDKIT=1 docker build . -f Dockerfile --output build
25
+ - name: Release
26
+ uses: softprops/action-gh-release@v2.2.1
27
+ with:
28
+ tag_name: ${{ env.VERSION }}
29
+ generate_release_notes: true
30
+ files: |
31
+ ./build/wartlock.AppImage
0 commit comments