Skip to content

fix: trying macos 12 (#62) #36

fix: trying macos 12 (#62)

fix: trying macos 12 (#62) #36

Workflow file for this run

name: Release Armaria
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set SDK
run: echo "SDK=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Setup Docker
run: |
brew install docker
brew install colima
colima start
- name: Release
run: |
xcrun --sdk macosx --show-sdk-path
export SDK=$(xcrun --sdk macosx --show-sdk-path)
echo $SDK
task release
shell: nix develop --command bash -e {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WINGET_AUTH_TOKEN: ${{ secrets.WINGET_AUTH_TOKEN }}
TAP_AUTH_TOKEN: ${{ secrets.TAP_AUTH_TOKEN }}
NUR_AUTH_TOKEN: ${{ secrets.NUR_AUTH_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}