Update .gitea/osx_build.yaml
This commit is contained in:
parent
acd4aa0505
commit
a78b802a0f
|
|
@ -1,25 +1,19 @@
|
||||||
name: osx_build
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
#matrix:
|
|
||||||
# OSX_VERSION:
|
|
||||||
# - sonoma
|
|
||||||
# - ventura
|
|
||||||
# - monterey
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_image:
|
Explore-Gitea-Actions:
|
||||||
runs-on: osx
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: |
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
export
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
cd ${{ github.repository }}/osx
|
- name: List files in the repository
|
||||||
packer init .
|
run: |
|
||||||
packer build var macos_version=${OSX_VERSION} .
|
ls ${{ gitea.workspace }}
|
||||||
tart push ${OSX_VERSION}base gitea.hnatekmar.xyz/osx:${OSX_VERSION}latest chunksize 8
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
tart prune spacebudget 25
|
|
||||||
Loading…
Reference in New Issue