Update upload-release.yml #14
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: Upload Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ubuntu apt | |
run: | | |
sudo apt update | |
sudo apt -y install rsync sed rdfind liblingua-translit-perl | |
- name: armake checkout | |
uses: actions/checkout@master | |
with: | |
repository: 'KoffeinFlummi/armake' | |
path: tools/armake | |
- name: armake build | |
working-directory: tools/armake | |
run: | | |
sed -i "s/ /\t/" Makefile | |
make | |
sudo make install | |
- name: armake test | |
run: armake --help | |
- name: gosa checkout | |
uses: actions/checkout@v4 | |
- name: gosa build | |
run: ./tools/build_pbo_linux.sh -ltza | |
- name: gosa clean | |
run: rm -v arma-glowing-octo-shame/*workshop* | |
- name: GitHub release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
prerelease: true | |
files: arma-glowing-octo-shame/* |