-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ConcenTech:0.3.0_fix-build-scripts
0.3.0_fix-build-scripts
- Loading branch information
Showing
2 changed files
with
33 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
- name: Create signing key | ||
uses: timheuer/[email protected] | ||
with: | ||
fileDir: "android/" | ||
fileDir: "/home/runner/work/album_share/android/" | ||
fileName: "keystore.jks" | ||
encodedString: ${{ secrets.ANDROID_KEY_BASE64 }} | ||
|
||
|
@@ -56,7 +56,6 @@ jobs: | |
|
||
- name: Add files to release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -95,7 +94,6 @@ jobs: | |
|
||
- name: Add archive to release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -129,45 +127,43 @@ jobs: | |
|
||
- name: Add archive to release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
files: build/windows/x64/runner/Release/AlbumShare-{{github.ref_name}}-windows.zip | ||
|
||
build_macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup the flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
|
||
- name: Install project dependencies | ||
run: flutter pub get | ||
|
||
- name: Generate build files | ||
run: dart run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Build | ||
run: flutter build macos --release | ||
|
||
- name: Creative archive | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: "zip" | ||
filename: AlbumShare-{{github.ref_name}}-macos.zip | ||
directory: build/macos/Build/Products/Release | ||
|
||
- name: Add archive to release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
files: build/macos/Build/Products/Release/AlbumShare-{{github.ref_name}}-macos.zip | ||
# build_macos: | ||
# runs-on: macos-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
# - name: Setup the flutter environment | ||
# uses: subosito/flutter-action@v2 | ||
# with: | ||
# channel: "stable" | ||
|
||
# - name: Install project dependencies | ||
# run: flutter pub get | ||
|
||
# - name: Generate build files | ||
# run: dart run build_runner build --delete-conflicting-outputs | ||
|
||
# - name: Build | ||
# run: flutter build macos --release | ||
|
||
# - name: Creative archive | ||
# uses: thedoctor0/[email protected] | ||
# with: | ||
# type: "zip" | ||
# filename: AlbumShare-{{github.ref_name}}-macos.zip | ||
# directory: build/macos/Build/Products/Release | ||
|
||
# - name: Add archive to release | ||
# uses: softprops/action-gh-release@v2 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# files: build/macos/Build/Products/Release/AlbumShare-{{github.ref_name}}-macos.zip | ||
|
||
# build_ios: | ||
# runs-on: macos-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters