mirror of
https://github.com/cinnyapp/cinny-desktop.git
synced 2024-12-28 02:16:11 +00:00
Action to create zip-archive for Flatpak
This commit is contained in:
parent
0377b299f2
commit
b26ab47f01
22
.github/workflows/archive.yml
vendored
Normal file
22
.github/workflows/archive.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: "Upload zip-archive"
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
zip-archive:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3.0.2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Create zip including submodules
|
||||||
|
run: |
|
||||||
|
cd ..
|
||||||
|
zip ${{ github.event.repository.name }}/${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -r
|
||||||
|
- name: Upload zip to release
|
||||||
|
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
${{ github.event.repository.name }}-${{ github.ref_name }}.zip
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: "Build pull request"
|
name: "Build pull request"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
#pull_request:
|
||||||
types: ['opened', 'synchronize']
|
#types: ['opened', 'synchronize']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-tauri:
|
publish-tauri:
|
||||||
|
|
Loading…
Reference in a new issue