added cache bypass on force update localization files #217
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
# adopted from https://github.com/MihailRis/VoxelEngine-Cpp | |
name: Release | |
on: | |
push: | |
branches: [master, dev] | |
permissions: | |
contents: write | |
jobs: | |
build_release: | |
name: Build Release | |
uses: ./.github/workflows/build.yml | |
create_release: | |
needs: build_release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
path: vot | |
pattern: vot-* | |
merge-multiple: true | |
- name: Create release | |
uses: softprops/action-gh-release@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag_name: ${{ github.ref }} | |
name: ${{ github.sha }} | |
draft: true | |
prerelease: false | |
files: | | |
vot/vot*.user.js |