Skip to content

Move our actions' dep.s up #501

Move our actions' dep.s up

Move our actions' dep.s up #501

Workflow file for this run

---
name: Release
"on":
schedule:
- cron: 0 */2 * * *
workflow_dispatch: {}
push:
branches-ignore:
- main
pull_request:
branches:
- "*"
jobs:
release:
name: Release
strategy:
matrix:
darwin64-vsn: ["12", "13", "14"]
fail-fast: true
max-parallel: 1
runs-on: macos-${{matrix.darwin64-vsn}}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# We want jobs to always checkout the updated branch
ref: ${{github.ref_name}}
- name: Configure and build
timeout-minutes: 60
id: config_build
run: |
./.github/workflows/release.sh ${{matrix.darwin64-vsn}}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Release
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
with:
body: >
This is
Erlang/OTP ${{steps.config_build.outputs.otp_vsn}} compiled for
Darwin ${{matrix.darwin64-vsn}} (64 bit).
files: |
${{steps.config_build.outputs.tar_gz}}
${{steps.config_build.outputs.sha256_txt}}
tag_name: ${{steps.config_build.outputs.git_tag}}
target_commitish: ${{steps.config_build.outputs.target_commitish}}
if: "${{github.ref == 'refs/heads/main' &&
steps.config_build.outputs.target_commitish != ''}}"