Add package.yml Workflow
All checks were successful
Package BeamNG.drive mod / Build (push) Successful in 5s
All checks were successful
Package BeamNG.drive mod / Build (push) Successful in 5s
This commit is contained in:
22
.gitea/workflows/package.yml
Normal file
22
.gitea/workflows/package.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Package BeamNG.drive mod
|
||||
run-name: Package ${{ github.event.repository.name }}.zip for release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Remove hidden files
|
||||
run: rm -rf .*
|
||||
- name: Compress to zip
|
||||
run: zip ${{ github.event.repository.name }}.zip *
|
||||
- name: Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: ${{ github.event.repository.name }}.zip
|
||||
Reference in New Issue
Block a user