mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 13:08:55 +00:00
Compare commits
1 Commits
master
...
dee9f7a5bf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dee9f7a5bf |
37
.github/workflows/main.yml
vendored
37
.github/workflows/main.yml
vendored
@@ -9,8 +9,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run: python3 make_release.py
|
run: python3 make_release.py
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@@ -18,3 +20,38 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
DeDRM_tools_*.zip
|
DeDRM_tools_*.zip
|
||||||
DeDRM_tools.zip
|
DeDRM_tools.zip
|
||||||
|
|
||||||
|
- uses: dev-drprasad/delete-tag-and-release@v1.0
|
||||||
|
with:
|
||||||
|
tag_name: autorelease
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
delete_release: false
|
||||||
|
|
||||||
|
- name: Auto-release
|
||||||
|
id: autorelease
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
tag_name: autorelease
|
||||||
|
token: ${{ github.token }}
|
||||||
|
fail_on_unmatched_files: false
|
||||||
|
name: Automatic alpha release with latest changes
|
||||||
|
body: |
|
||||||
|
This release is automatically generated by Github for each commit.
|
||||||
|
|
||||||
|
This means, every time a change is made to this repo, this release will
|
||||||
|
be updated to contain an untested copy of the plugin at that stage.
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
on_release_exists: update
|
||||||
|
remove_assets: true
|
||||||
|
|
||||||
|
- name: Upload to auto-release
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.autorelease.outputs.upload_url }}
|
||||||
|
asset_path: ./DeDRM_tools.zip
|
||||||
|
asset_name: DeDRM_alpha_${{ github.sha }}.zip
|
||||||
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user