Skip to content

Workflow file for this run

name: デプロイ(msix)
on: [push]
jobs:
build_for_windows:
name: Windows用ビルド
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Flutter pub get
run: |
git config --system core.longpaths true
flutter pub get
- name: Get version
run: echo "BUMP_VERSION=$(flutter pub run cider version)" >> $GITHUB_ENV
- name: Create msix file
run: |
flutter pub global activate flutter_distributor
flutter_distributor package --platform windows --target msix
mv ./dist/$BUMP_VERSION/miria-$BUMP_VERSION-windows.msix ./dist/$BUMP_VERSION/miria-$BUMP_VERSION-windows-x64.msix
- name: Create tag and release note
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create v$BUMP_VERSION+win --generate-notes --draft ./dist/$BUMP_VERSION/miria-$BUMP_VERSION-windows-x64.msix