Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahKamara committed Mar 5, 2024
1 parent 8495288 commit 77578cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build & Test

on:
concurrency:
group: "quality"
cancel-in-progress: true

push:
branches:
- main
Expand All @@ -13,10 +16,10 @@ on:
jobs:
build:
name: Build & Test
runs-on: ubuntu-20.04
runs-on: macos-latest
steps:
- name: Install Swift
uses: slashmo/install-swift@v0.1.0
- name: Install Swift
uses: swift-actions/setup-swift@v1.26.0
with:
version: "swift-5.10-DEVELOPMENT-SNAPSHOT-2024-03-02-a"
- name: Get swift version
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ permissions:
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
Expand All @@ -33,11 +30,10 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
- name: Upload Documentation Archive
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './Documentation.doccarchive/'
path: "./Documentation.doccarchive/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 77578cb

Please sign in to comment.