Skip to content

Commit a61c81f

Browse files
committed
actions fix
1 parent 0f4e38a commit a61c81f

File tree

1 file changed

+1
-83
lines changed

1 file changed

+1
-83
lines changed

.github/workflows/deployment.yml

+1-83
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,6 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15-
# - name: set up JDK
16-
# uses: actions/setup-java@v3
17-
# with:
18-
# java-version: '17'
19-
# distribution: 'temurin'
20-
# cache: gradle
21-
22-
# - name: Grant execute permission for gradlew
23-
# run: chmod +x gradlew
24-
# - name: Build
25-
# run: ./gradlew build
26-
# - name: Build Android
27-
# run: ./gradlew assembleRelease
28-
# - name: Build Web
29-
# run: ./gradlew jsBrowserDistribution # should be called after initial build
30-
31-
- name: Upload APK
32-
uses: actions/upload-artifact@v1
33-
with:
34-
name: apk
35-
path: artifacts/android/tetris-release.apk
36-
37-
- name: Upload Msi
38-
uses: actions/upload-artifact@v1
39-
with:
40-
name: msi
41-
path: artifacts/desktop/main/msi/TetrisMP-1.0.0.msi
4215

4316
- name: Deploy to GitHub Pages
4417
uses: JamesIves/[email protected]
@@ -48,59 +21,4 @@ jobs:
4821
- name: Release
4922
uses: ncipollo/release-action@v1
5023
with:
51-
artifacts: "apk/tetris-release.apk, msi/TetrisMP-1.0.0.msi"
52-
53-
# - name: Release
54-
# uses: softprops/action-gh-release@v1
55-
# with:
56-
# files: |
57-
# apk
58-
# msi
59-
60-
# - name: Create Release
61-
# uses: actions/create-release@v1
62-
# with:
63-
# release_name: ${{ github.ref_name }}
64-
# tag_name: ${{ github.ref_name }}
65-
#
66-
# - name: Upload Release APK
67-
# uses: actions/[email protected]
68-
# with:
69-
# upload_url: ${{ steps.create_release.outputs.upload_url }}
70-
# asset_path: apk/tetris-mp-release.apk
71-
# #asset_name: ${{ github.event.repository.name }}.apk
72-
# asset_content_type: application/zip
73-
#
74-
# - name: Upload Msi
75-
# uses: actions/[email protected]
76-
# with:
77-
# upload_url: ${{ steps.create_release.outputs.upload_url }}
78-
# asset_path: msi
79-
# #asset_name: ${{ github.event.repository.name }}.apk
80-
# asset_content_type: application/zip
81-
82-
# release:
83-
# needs: build
84-
# runs-on: ubuntu-latest
85-
# permissions:
86-
# id-token: write
87-
# pages: write
88-
#
89-
# steps:
90-
# - name: Create Release
91-
# uses: actions/create-release@v1
92-
## env:
93-
## GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94-
# with:
95-
# release_name: ${{ github.ref_name }}
96-
# tag_name: ${{ github.ref_name }}
97-
#
98-
# - name: Upload Release APK
99-
# uses: actions/[email protected]
100-
## env:
101-
## GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102-
# with:
103-
# upload_url: ${{ steps.create_release.outputs.upload_url }}
104-
# asset_path: apk/tetris-mp-release.apk
105-
# asset_name: ${{ github.event.repository.name }}.apk
106-
# asset_content_type: application/zip
24+
artifacts: "artifacts/desktop/main/msi/TetrisMP-1.0.0.msi, artifacts/android/tetris-release.apk"

0 commit comments

Comments
 (0)