updated tag #19
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: Pre release | |
on: | |
push: | |
tags: | |
- "v*-rc*" | |
permissions: | |
contents: write | |
jobs: | |
pre_release_lmml: | |
name: Publish Pre Release LMML | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Build ZIP file | |
run: | | |
mkdir -p Packages-Out/ | |
7z a ../Packages-Out/vikingstudios-airport-lmml-malta.zip ./Packages/vikingstudios-airport-lmml-malta/ | |
cd ../.. | |
- name: Delete old GitHub Pre-Releases | |
uses: mknejp/delete-release-assets@v1 | |
with: | |
token: ${{ github.token }} | |
tag: v*-rc* # Delete all pre-releases | |
assets: "*" | |
fail-if-no-assets: false | |
- name: Create Release | |
id: create_release | |
uses: softprops/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
draft: false | |
prerelease: true | |
files: ../Packages-Out/vikingstudios-airport-lmml-malta.zip |