Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows/build.yml #66

Closed
Longtran9x opened this issue Jan 6, 2024 · 1 comment
Closed

.github/workflows/build.yml #66

Longtran9x opened this issue Jan 6, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@Longtran9x
Copy link

name: Build and Package

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
name: Build Bootstrap
runs-on: macos-latest

steps:
  - name: Checkout
    uses: actions/checkout@v3
    with:
      submodules: true

  - name: Install Theos
    run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"

  - name: Setup Environment
    run: echo "THEOS=~/theos" >> $GITHUB_ENV

  - name: Make Bootstrap Package
    run: make package

  - name: Upload Artifact
    uses: actions/upload-artifact@v3
    with:
      name: Bootstrap.tipa
      path: ./packages/Bootstrap.tipa

update-release:
name: Release .tipa
runs-on: ubuntu-latest
needs: build

steps:
- name: Delete old release
  uses: dev-drprasad/delete-tag-and-release@v0.2.1
  with:
    delete_release: true
    tag_name: release
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get artifacts
  uses: actions/download-artifact@v3
  with:
    name: Bootstrap.tipa
- name: Create new release
  uses: ncipollo/release-action@v1
  with:
    name: Rolling Release
    body: These are automatically updated builds of the latest commit.
    artifacts: "Bootstrap.tipa"
    tag: release
    token: ${{ secrets.GITHUB_TOKEN }}
@imnltsa
Copy link
Collaborator

imnltsa commented Jan 6, 2024

Seriously?

@imnltsa imnltsa closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
@imnltsa imnltsa added the invalid This doesn't seem right label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants