Skip to content

Commit

Permalink
#139 Try
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Jul 27, 2023
1 parent 24a654b commit f215c3f
Showing 1 changed file with 25 additions and 14 deletions.
39 changes: 25 additions & 14 deletions .github/workflows/make-github-release-assets.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@
name: make-github-release-assets.yaml

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
on: [push]

# on:
# push:
# tags:
# - "[0-9]+.[0-9]+.[0-9]+"

jobs:
build:
name: Publish binaries
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
- run: pwd
- name: Did a file get created (before)
run: ls -la
- run: echo "Test file" > /tmp/bob.txt
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /tmp/bob.txt
asset_name: bob2.txt
tag: ${{ github.ref }}
overwrite: true
body: "This is my release text"
- name: install create-dmg
run: brew install create-dmg
- name: Make a .dmg file
run: create-dmg --volname "Application Installer" --volicon "application_icon.icns" --background "installer_background.png" --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "Application.app" 200 190 --hide-extension "Application.app" --app-drop-link 600 185 "Application-Installer.dmg" "tmp/"
- name: Did a file get created (after)
run: ls -la

# - name: Upload binaries to release
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: /tmp/bob.txt
# asset_name: bob2.txt
# tag: ${{ github.ref }}
# overwrite: true
# body: "This is my release text"

0 comments on commit f215c3f

Please sign in to comment.