Skip to content

slight change in tag #20

slight change in tag

slight change in tag #20

Workflow file for this run

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: "refs/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