implement homepage and repository links #33
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: Nightly | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [labeled] | |
jobs: | |
fetch_tag: | |
if: | | |
github.event_name == 'push' || | |
contains(github.event.pull_request.labels.*.name, 'built-as-nightly') | |
runs-on: ubuntu-latest | |
name: Build nightly release | |
outputs: | |
previous_tag: ${{ steps.previoustag.outputs.tag }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: 'Get Previous tag' | |
id: previoustag | |
uses: actions-ecosystem/action-get-latest-tag@v1 | |
with: | |
semver_only: true | |
- name: Output tag | |
shell: bash | |
run: echo "tag=${{ steps.previoustag.outputs.tag }}" >> "$GITHUB_OUTPUT" | |
build: | |
uses: ./.github/workflows/build.yml | |
needs: fetch_tag | |
with: | |
tag: nightly | |
upload_url: https://uploads.github.com/repos/UpliftGames/wally/releases/108261310/assets{?name,label} | |
release_ref: ${{ needs.fetch_tag.outputs.previous_tag }}-nightly | |
overwrite: true | |
release_name: "Nightly 🌙 " | |
release_body: | | |
### For those who live life on the edge 🔪🩸😎 | |
⚠️ Not suitable for production use | |
🚀 Built from latest main commit |