-
Notifications
You must be signed in to change notification settings - Fork 164
39 lines (31 loc) · 1.06 KB
/
appimage-x86_64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Scopy x86_64 AppImage Build
on: [push, pull_request]
env:
BUILD_HOST: ubuntu-20.04
USERNAME: github-actions
jobs:
build_scopy_x86-64_appimage:
runs-on: ubuntu-20.04
container:
image: cristianbindea/scopy2-x86_64-appimage:latest
options: --user root
steps:
- uses: actions/checkout@v4
with:
set-safe-directory: 'true'
- name: Create Scopy AppImage
shell: bash
run: |
export CI_SCRIPT=ON
cd $GITHUB_WORKSPACE
./ci/x86_64/x86-64_appimage_process.sh run_workflow
- name: Set short git commit SHA
shell: bash
run: |
cd $GITHUB_WORKSPACE
git config --global --add safe.directory $GITHUB_WORKSPACE
echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v4
with:
name: scopy-linux-x86_64-${{ env.commit_sha }}
path: ${{ github.workspace }}/Scopy-x86_64.AppImage