FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
authpass/.github/workflows/linux.yml at main · authpass/authpass · GitHub
authpass
/
authpass
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
282
Star
2.8k
Code
Issues
149
Pull requests
18
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
authpass
/
.github
/
workflows
/
linux.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
88 lines (82 loc) · 3.09 KB
Breadcrumbs
authpass
/
.github
/
workflows
/
linux.yml
Copy path
File metadata and controls
88 lines (82 loc) · 3.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name
:
build linux
on
:
push
:
branches
:
-
'
linux**
'
-
'
stable
'
-
'
beta
'
workflow_dispatch
:
jobs
:
build
:
runs-on
:
ubuntu-22.04
strategy
:
matrix
:
flavor
:
['linux']
fail-fast
:
true
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Checkout submodules
shell
:
bash
run
:
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
-
run
:
|
sudo apt-get update
sudo apt-get install -y \
clang \
cmake \
ninja-build \
file pkg-config git unzip \
libgtk-3-dev libx11-dev \
libsecret-1-dev \
keybinder-3.0
-
name
:
ci-install-deps
env
:
SOPS_AGE_KEY
:
${{ secrets.SOPS_AGE_KEY }}
run
:
"
./authpass/_tools/ci-install-deps.sh linux
"
#
- run: ~/deps/flutter/bin/flutter channel master && ~/deps/flutter/bin/flutter upgrade && ~/deps/flutter/bin/flutter config --enable-linux-desktop
-
run
:
~/deps/flutter/bin/flutter config --enable-linux-desktop
-
name
:
build ${{ matrix.flavor }} apk
id
:
buildapk
env
:
SOPS_AGE_KEY
:
${{ secrets.SOPS_AGE_KEY }}
GIT_AUTHOR_NAME
:
'
Github Action CI
'
GIT_AUTHOR_EMAIL
:
'
herbert.github.ci@codeux.design
'
GIT_COMMITTER_NAME
:
'
Github Action CI
'
GIT_COMMITTER_EMAIL
:
'
herbert.github.ci@codeux.design
'
run
:
>-
./authpass/_tools/ship.sh secrets exec --keystore upload --api-key upload --
./authpass/_tools/ci-release.sh ${{ matrix.flavor }}
-
uses
:
actions/upload-artifact@v4
with
:
name
:
${{ steps.buildapk.outputs.outputfilename }}
path
:
authpass/${{ steps.buildapk.outputs.outputpath }}
-
name
:
upload artifact
env
:
SOPS_AGE_KEY
:
${{ secrets.SOPS_AGE_KEY }}
run
:
>-
./authpass/_tools/ship.sh secrets exec --keystore upload --api-key upload --
./authpass/_tools/upload-artifact.sh authpass/${{ steps.buildapk.outputs.outputpath }}
-
uses
:
snapcore/action-build@v1
id
:
snapcraft
#
snapcraft names the file after the snap, not after the release, so the
#
version has to be put back on it for the download page.
-
name
:
upload snap artifact
env
:
SOPS_AGE_KEY
:
${{ secrets.SOPS_AGE_KEY }}
run
:
>-
./authpass/_tools/ship.sh secrets exec --keystore upload --api-key upload --
./authpass/_tools/upload-artifact.sh
${{ steps.snapcraft.outputs.snap }}
authpass_${{ steps.buildapk.outputs.appversion }}_${{ steps.buildapk.outputs.appbuildnumber }}_amd64.snap
-
uses
:
snapcore/action-publish@v1
env
:
SNAPCRAFT_STORE_CREDENTIALS
:
${{ secrets.SNAPCRAFT_TOKEN }}
with
:
snap
:
${{ steps.snapcraft.outputs.snap }}
release
:
edge
-
uses
:
actions/upload-artifact@v4
with
:
name
:
authpass-${{ steps.buildapk.outputs.appversion }}_${{ steps.buildapk.outputs.appbuildnumber }}-snap
path
:
${{ steps.snapcraft.outputs.snap }}
Back
|
FazBrowse Home
|
New Git URL