Skip to content

Commit

Permalink
fix: temp sdk path logging (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHope authored Jun 2, 2024
1 parent b3760be commit d94307c
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,27 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Setup Docker
run: |
brew install docker
brew install colima
colima start
- name: Release
run: |
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 }}
SDK:
- name: Set SDK
run: echo "SDK=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- name: Print SDK
run: echo $SDK
# - 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 }}

0 comments on commit d94307c

Please sign in to comment.