[WMP] Waldos Mission Pack V4.7.2 #66
Workflow file for this run
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
name: Deploy | |
on: | |
release: | |
types: [ published, prereleased ] | |
jobs: | |
build: | |
name: Create And Upload Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Prepare Deploy | |
run: chmod +x ./releaseVerificationAndDeployment/deploy.sh | |
- name: Build release | |
run: ./releaseVerificationAndDeployment/deploy.sh ${{ steps.get_version.outputs.VERSION }} | |
- name: Upload Release WMP | |
uses: JasonEtco/upload-to-release@master | |
with: | |
args: release/WMP-${{ steps.get_version.outputs.VERSION }}.zip application/zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release WMP (Patch) | |
continue-on-error: true | |
uses: JasonEtco/upload-to-release@master | |
with: | |
args: release/WMP_Patch_v* application/zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release WMP (Compositions) | |
continue-on-error: true | |
uses: JasonEtco/upload-to-release@master | |
with: | |
args: release/WMP_Compositions-${{ steps.get_version.outputs.VERSION }}.zip application/zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release WMP Unit Insignias | |
continue-on-error: true | |
uses: JasonEtco/upload-to-release@master | |
with: | |
args: release/WMP_Unit_Insignias-${{ steps.get_version.outputs.VERSION }}.zip application/zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release WMP Exemplar Mission | |
continue-on-error: true | |
uses: JasonEtco/upload-to-release@master | |
with: | |
args: release/WMP_Exemplar_Mission-${{ steps.get_version.outputs.VERSION }}.zip application/zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |