fix filenames with commas (#4) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
calculate_version: | |
name: Calculate version information | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the sources | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Extract Artifacts Version | |
shell: bash | |
run: | | |
tag=$(git describe --tags --abbrev=0) | |
short=$(git rev-parse --short HEAD) | |
final="${tag/alpha/$short}" | |
echo "ARTIFACTS_VERSION=${final}" >> $GITHUB_ENV | |
echo "INFO_VERSION=${tag:1}" >> $GITHUB_ENV | |
outputs: | |
git_tag: ${{ env.GIT_TAG }} | |
artifacts_version: ${{ env.ARTIFACTS_VERSION }} | |
info_version: ${{ env.INFO_VERSION }} | |
build_and_upload: | |
uses: jasongdove/mkchap/.github/workflows/artifacts.yml@main | |
needs: calculate_version | |
with: | |
release_tag: develop | |
release_version: ${{ needs.calculate_version.outputs.artifacts_version }} | |
info_version: ${{ needs.calculate_version.outputs.info_version }} | |
secrets: | |
# apple_developer_certificate_p12_base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} | |
# apple_developer_certificate_password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} | |
# ac_username: ${{ secrets.AC_USERNAME }} | |
# ac_password: ${{ secrets.AC_PASSWORD }} | |
gh_token: ${{ secrets.GITHUB_TOKEN }} |