sign test
This commit is contained in:
		@@ -12,14 +12,7 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: checkout code
 | 
					      - name: checkout code
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
      - name: cache pub deps
 | 
					 | 
				
			||||||
        uses: actions/cache@v4
 | 
					 | 
				
			||||||
        with:
 | 
					 | 
				
			||||||
          path: ~/.pub-cache
 | 
					 | 
				
			||||||
          key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
 | 
					 | 
				
			||||||
          restore-keys: ${{ runner.os }}-pub-
 | 
					 | 
				
			||||||
      
 | 
					 | 
				
			||||||
      - name: set up jdk
 | 
					      - name: set up jdk
 | 
				
			||||||
        uses: actions/setup-java@v3
 | 
					        uses: actions/setup-java@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -42,12 +35,24 @@ jobs:
 | 
				
			|||||||
      
 | 
					      
 | 
				
			||||||
      - name: build apk
 | 
					      - name: build apk
 | 
				
			||||||
        run: flutter build apk --release
 | 
					        run: flutter build apk --release
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
      - name: release-build
 | 
					      - uses: https://github.com/actions/android-sign@v1
 | 
				
			||||||
        uses: akkuman/gitea-release-action@v1
 | 
					        name: sign app apk
 | 
				
			||||||
        env:
 | 
					 | 
				
			||||||
          NODE_OPTIONS: '--experimental-fetch'
 | 
					 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          files: |-
 | 
					          releaseDirectory: |
 | 
				
			||||||
            build/app/outputs/flutter-apk/app-release.apk
 | 
					            build/app/outputs/flutter-apk
 | 
				
			||||||
          token: '${{secrets.RELEASE_TOKEN}}'
 | 
					          signingKeyBase64: ${{ secrets.SIGNING_KEY }}
 | 
				
			||||||
 | 
					          output: build/release/signed
 | 
				
			||||||
 | 
					          alias: ${{ secrets.ALIAS }}
 | 
				
			||||||
 | 
					          keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
 | 
				
			||||||
 | 
					        env:
 | 
				
			||||||
 | 
					          BUILD_TOOLS_VERSION: "35.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      #- name: release-build
 | 
				
			||||||
 | 
					      #  uses: akkuman/gitea-release-action@v1
 | 
				
			||||||
 | 
					      #  env:
 | 
				
			||||||
 | 
					      #    NODE_OPTIONS: '--experimental-fetch'
 | 
				
			||||||
 | 
					      #  with:
 | 
				
			||||||
 | 
					      #    files: |-
 | 
				
			||||||
 | 
					      #      build/app/outputs/flutter-apk/app-release.apk
 | 
				
			||||||
 | 
					      #    token: '${{secrets.RELEASE_TOKEN}}'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user