Skip to content

Remove empty space

Remove empty space #73

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install swift
uses: YOCKOW/Action-setup-swift@v1
with:
swift-version: '5.3.3'
- shell: bash
env:
MAILTRAPUSER: ${{ secrets.MAILTRAPUSER }}
run: |
sed -i -e 's/#MAILTRAPUSER#/'"$MAILTRAPUSER"'/g' Tests/SmtpTests/SmtpTests.swift
- shell: bash
env:
MAILTRAPPASS: ${{ secrets.MAILTRAPPASS }}
run: |
sed -i -e 's/#MAILTRAPPASS#/'"$MAILTRAPPASS"'/g' Tests/SmtpTests/SmtpTests.swift
- shell: bash
env:
GMAILUSER: ${{ secrets.GMAILUSER }}
run: |
sed -i -e 's/#GMAILUSER#/'"$GMAILUSER"'/g' Tests/SmtpTests/SmtpTests.swift
- shell: bash
env:
GMAILPASS: ${{ secrets.GMAILPASS }}
run: |
sed -i -e 's/#GMAILPASS#/'"$GMAILPASS"'/g' Tests/SmtpTests/SmtpTests.swift
- name: Build
run: swift build --enable-test-discovery
# - name: Tests
# run: swift test --enable-test-discovery