chore(fxmanifest): bump version #5
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: Create new release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
new-release: | |
name: Create new release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get latest code | |
uses: actions/checkout@v4 | |
- name: Update tag | |
uses: EndBug/latest-tag@v1 | |
with: | |
ref: ${{ github.ref_name }} | |
- name: Install zip | |
run: sudo apt install zip | |
- name: Bundle files | |
run: | | |
mkdir -p ./temp/ac_radio | |
cp ./{LICENSE,README.md,fxmanifest.lua,config.lua} ./temp/ac_radio | |
cp -r ./{locales,modules,resource,web} ./temp/ac_radio | |
cd ./temp && zip -r ../ac_radio.zip ./ac_radio | |
- name: Create release | |
uses: softprops/action-gh-release@v2 | |
with: | |
token: ${{ github.token }} | |
prerelease: false | |
files: ac_radio.zip |