Skip to content

remove cache hint as scripts cache is now invalidated correctly #33

remove cache hint as scripts cache is now invalidated correctly

remove cache hint as scripts cache is now invalidated correctly #33

Workflow file for this run

name: Build and publish latest commit
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: xdpirate
steps:
- name: Generate short sha
uses: benjlevesque/short-sha@v2.2
id: short-sha
with:
length: 7
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Zip repo
uses: montudor/action-zip@v1
with:
args: zip -qq -r GameHorizon-${{ steps.short-sha.outputs.sha }}.zip .
- name: Upload release
uses: ncipollo/release-action@v1.12.0
with:
artifacts: "GameHorizon-${{ steps.short-sha.outputs.sha }}.zip"
generateReleaseNotes: true
makeLatest: true
name: GameHorizon-${{ steps.short-sha.outputs.sha }}
tag: ${{ steps.short-sha.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}