mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-08 23:53:44 +00:00
CI: Publish snap correctly
This commit is contained in:
parent
71cafa9f33
commit
fb743f491a
2 changed files with 4 additions and 8 deletions
6
.github/workflows/main_deploy.yaml
vendored
6
.github/workflows/main_deploy.yaml
vendored
|
@ -53,10 +53,8 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- uses: snapcore/action-build@v1
|
||||
id: snapcraft
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fluffychat
|
||||
path: ${{ steps.snapcraft.outputs.snap }}
|
||||
- name: Publish Snap
|
||||
run: snapcraft push ./*.snap
|
||||
|
||||
deploy_playstore_internal:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -85,10 +85,8 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- uses: snapcore/action-build@v1
|
||||
id: snapcraft
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fluffychat
|
||||
path: ${{ steps.snapcraft.outputs.snap }}
|
||||
- name: Publish Snap
|
||||
run: snapcraft push ./*.snap
|
||||
- name: Promote Snap
|
||||
run: |
|
||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
||||
|
|
Loading…
Reference in a new issue