Skip to content

should delete all pre-releases #22

should delete all pre-releases

should delete all pre-releases #22

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-Release assets
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