-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f4e38a
commit a61c81f
Showing
1 changed file
with
1 addition
and
83 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 |
---|---|---|
|
@@ -12,33 +12,6 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
# - name: set up JDK | ||
# uses: actions/setup-java@v3 | ||
# with: | ||
# java-version: '17' | ||
# distribution: 'temurin' | ||
# cache: gradle | ||
|
||
# - name: Grant execute permission for gradlew | ||
# run: chmod +x gradlew | ||
# - name: Build | ||
# run: ./gradlew build | ||
# - name: Build Android | ||
# run: ./gradlew assembleRelease | ||
# - name: Build Web | ||
# run: ./gradlew jsBrowserDistribution # should be called after initial build | ||
|
||
- name: Upload APK | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: apk | ||
path: artifacts/android/tetris-release.apk | ||
|
||
- name: Upload Msi | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: msi | ||
path: artifacts/desktop/main/msi/TetrisMP-1.0.0.msi | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
|
@@ -48,59 +21,4 @@ jobs: | |
- name: Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "apk/tetris-release.apk, msi/TetrisMP-1.0.0.msi" | ||
|
||
# - name: Release | ||
# uses: softprops/action-gh-release@v1 | ||
# with: | ||
# files: | | ||
# apk | ||
# msi | ||
|
||
# - name: Create Release | ||
# uses: actions/create-release@v1 | ||
# with: | ||
# release_name: ${{ github.ref_name }} | ||
# tag_name: ${{ github.ref_name }} | ||
# | ||
# - name: Upload Release APK | ||
# uses: actions/[email protected] | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: apk/tetris-mp-release.apk | ||
# #asset_name: ${{ github.event.repository.name }}.apk | ||
# asset_content_type: application/zip | ||
# | ||
# - name: Upload Msi | ||
# uses: actions/[email protected] | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: msi | ||
# #asset_name: ${{ github.event.repository.name }}.apk | ||
# asset_content_type: application/zip | ||
|
||
# release: | ||
# needs: build | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# id-token: write | ||
# pages: write | ||
# | ||
# steps: | ||
# - name: Create Release | ||
# uses: actions/create-release@v1 | ||
## env: | ||
## GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# release_name: ${{ github.ref_name }} | ||
# tag_name: ${{ github.ref_name }} | ||
# | ||
# - name: Upload Release APK | ||
# uses: actions/[email protected] | ||
## env: | ||
## GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: apk/tetris-mp-release.apk | ||
# asset_name: ${{ github.event.repository.name }}.apk | ||
# asset_content_type: application/zip | ||
artifacts: "artifacts/desktop/main/msi/TetrisMP-1.0.0.msi, artifacts/android/tetris-release.apk" |