-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.01 KB
/
build.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
on:
push:
tags:
- "*"
name: RUN BUILD
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-22.08
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@main
- name: flatpak action
uses: flatpak/flatpak-github-actions/flatpak-builder@v4
with:
bundle: com.deepinwine6.stable.flatpak
manifest-path: com.deepinwine6.stable.json
cache-key: flatpak-wine60525
- name: Release set path
run: |
touch release.txt
# echo "🔗 [cloudupload](${{ steps.cloudupload.outputs.url }})" >> release.txt
echo "RELEASE_PATH=$PWD" >> $GITHUB_ENV
echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ env.RELEASE_PATH }}/*.flatpak
bodyFile: release.txt
token: ${{ secrets.GITHUB_TOKEN }}