Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Jan 17, 2025
1 parent 33680a1 commit d274783
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/linux_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

name: デプロイ(linux)
on:
push:
workflow_dispatch:
release:
types: [published]
Expand Down Expand Up @@ -34,10 +35,10 @@ jobs:
echo "VERSION=$(yq -r '.version' pubspec.yaml)" >> $GITHUB_ENV
- name: Upload snap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload v$VERSION ${{ steps.snapcraft.outputs.snap }}
uses: actions/upload-artifact@v4
with:
name: snap_${{ matrix.platform }}
path: ${{ steps.snapcraft.outputs.snap }}
# https://gihyo.jp/admin/serial/01/ubuntu-recipe/0660#sec3 : Snapパッケージアップロードまでの流れ
# https://github.com/snapcore/action-publish : Snap ActionのREADME.md
# Snap Storeでパッケージ名"miria"を予約($ snapcraft register miria)後、"SNAPCRAFT_STORE_CREDENTIALS"を登録し、
Expand Down Expand Up @@ -141,7 +142,7 @@ jobs:
depends: "libgtk-3-0, libstdc++6, libx11-6, libmpv2, libsecret-1-0"

- name: Upload DEB
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload v$VERSION ./miria_${{ env.VERSION }}_${{ matrix.arch }}.deb
uses: actions/upload-artifact@v4
with:
name: deb_${{ matrix.arch }}
path: ./miria_${{ env.VERSION }}_${{ matrix.arch }}.deb

0 comments on commit d274783

Please sign in to comment.