-
Notifications
You must be signed in to change notification settings - Fork 9
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
94f3f9b
commit 924ba39
Showing
1 changed file
with
28 additions
and
32 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 |
---|---|---|
|
@@ -2,11 +2,10 @@ name: Compile Plugin | |
|
||
on: | ||
push: | ||
branches: master | ||
tags: '*' | ||
branches: [ master ] | ||
tags: [ '*' ] | ||
pull_request: | ||
branches: master | ||
|
||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
@@ -108,33 +107,30 @@ jobs: | |
create_release: | ||
name: Upload Release | ||
runs-on: ubuntu-latest | ||
needs: [ build ] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
strategy: | ||
fail-fast: false | ||
needs: [ build ] | ||
|
||
steps: | ||
- name: Retreive Release Package From Cache 1.11 | ||
uses: actions/[email protected] | ||
id: cache2 | ||
with: | ||
path: | | ||
build/*.zip | ||
key: cvredux-${{ github.ref_name }}-1.11.x | ||
|
||
- name: Retreive Release Package From Cache 1.12 | ||
uses: actions/[email protected] | ||
id: cache3 | ||
with: | ||
path: | | ||
build/*.zip | ||
key: cvredux-${{ github.ref_name }}-1.12.x | ||
|
||
# Retrive the cached files from the previous jobs | ||
- name: Retreive Release Package From Cache 1.11 | ||
uses: actions/[email protected] | ||
id: cache2 | ||
with: | ||
path: | | ||
build/*.zip | ||
key: cvredux-${{ github.ref_name }}-1.11.x | ||
|
||
# Retrive the cached files from the previous jobs | ||
- name: Retreive Release Package From Cache 1.12 | ||
uses: actions/[email protected] | ||
id: cache3 | ||
with: | ||
path: | | ||
build/*.zip | ||
key: cvredux-${{ github.ref_name }}-1.12.x | ||
|
||
- name: Create Release | ||
uses: softprops/[email protected] | ||
with: | ||
name: "Custom Votes Redux Modified ${{ github.ref_name }}" | ||
generate_release_notes: true | ||
files: | | ||
build/*.zip | ||
- name: Create Release | ||
uses: softprops/[email protected] | ||
with: | ||
name: "Custom Votes Redux Modified ${{ github.ref_name }}" | ||
generate_release_notes: true | ||
files: | | ||
build/*.zip |