Skip to content

Commit

Permalink
Remove deprecated workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Feb 26, 2022
1 parent d064c19 commit ac8ffcc
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,11 @@ jobs:
cache: gradle
- name: Build dex-tools with Gradle
run: ./gradlew check distZip

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: v${{ github.run_number }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: softprops/action-gh-release@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dex-tools/build/distributions/dex-tools-2.1-SNAPSHOT.zip
asset_name: dex-tools-2.1-SNAPSHOT.zip
asset_content_type: application/zip
tag_name: v${{ github.run_number }}
files: dex-tools/build/distributions/dex-tools-2.1-SNAPSHOT.zip

- name: Archive dex tools
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit ac8ffcc

Please sign in to comment.