mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 04:25:15 +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: actions/checkout@v3
|
||||||
- uses: snapcore/action-build@v1
|
- uses: snapcore/action-build@v1
|
||||||
id: snapcraft
|
id: snapcraft
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Publish Snap
|
||||||
with:
|
run: snapcraft push ./*.snap
|
||||||
name: fluffychat
|
|
||||||
path: ${{ steps.snapcraft.outputs.snap }}
|
|
||||||
|
|
||||||
deploy_playstore_internal:
|
deploy_playstore_internal:
|
||||||
runs-on: ubuntu-latest
|
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: actions/checkout@v3
|
||||||
- uses: snapcore/action-build@v1
|
- uses: snapcore/action-build@v1
|
||||||
id: snapcraft
|
id: snapcraft
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Publish Snap
|
||||||
with:
|
run: snapcraft push ./*.snap
|
||||||
name: fluffychat
|
|
||||||
path: ${{ steps.snapcraft.outputs.snap }}
|
|
||||||
- name: Promote Snap
|
- name: Promote Snap
|
||||||
run: |
|
run: |
|
||||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
||||||
|
|
Loading…
Reference in a new issue